Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

支持跨库跨表的整合么? #36

Open
Masquerade6 opened this issue Nov 4, 2020 · 1 comment
Open

支持跨库跨表的整合么? #36

Masquerade6 opened this issue Nov 4, 2020 · 1 comment
Assignees

Comments

@Masquerade6
Copy link

比如有A、B两张表在两个不同的数据库,A中的一条记录在B表中可能对应有多条,我要整合成一个对象保存到ES中,支持全量和增量同步么?

@yin-bp
Copy link
Contributor

yin-bp commented Nov 4, 2020

@Liuyaowu 支持的,首先需要将两个数据库配置为bboss的数据源,以其中的主表作为同步sql,然后在datarefactor中根据主库表关键字段去另外一个库查询对应的数据,然后封装成对象写入es即可,参考文档:
跨库跨表数据同步

@yin-bp yin-bp self-assigned this Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants