Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
datax支持大部分的rdbms的读写,目前支持达梦、db2、PPAS、Sybase数据库的读取 查看官方介绍
通过在datax-web中增加dm类型的操作, 插件使用的RdbmsReader 和 RdbmsWriter 进行读写, 目前已经在本地测试通过, 流程如下:
增加达梦数据源的连接:
构建Reader后构建Writer选择达梦数据源
构建json, 可以看到这里使用的rdbmsWriter
之后点击执行一次, 触发一次datax任务, 任务运行成功后, 查看dm目标表的数据如下
这里直接同步的datax-web的用户表信息, 可以看到同步成功
从达梦读数据也是同理, 测试可以同步成功, 这里不做展示