Mysql8.0同步数据到Elasticsearch8.3.3错误
- Dominant language
- Java
- Stars
- 17.4k
- Forks
- 5.7k
- PR merge metrics
- No merged PRs in 30d
Description
如题,Elasticsearch8的版本中已经去除了type:'_doc'字段,在使用Datax同步时一直报错
- 使用示例job文件测试时报错如下:

- 在job.json文件中删除掉type:'_doc'字段依然报错:

测试使用Elasticsearch7版本的同步数据正常;请尽快修改以支持Elasticsearch8版本的数据同步。
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the example job.json and the Elasticsearch writer path used by DataX, then compare the reported Elasticsearch 8 errors with the working Elasticsearch 7 synchronization. Done means a MySQL-to-Elasticsearch 8.3.3 job runs successfully without the removed type field.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elasticsearch, java, mysql
- Domain
- data-engineering, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100