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

add support for polardbx multi binlog streams #4657

Closed
lulu2panpan opened this issue Mar 15, 2023 · 1 comment
Closed

add support for polardbx multi binlog streams #4657

lulu2panpan opened this issue Mar 15, 2023 · 1 comment
Assignees
Milestone

Comments

@lulu2panpan
Copy link
Collaborator

add support for polardbx multi binlog streams

lulu2panpan added a commit to lulu2panpan/canal that referenced this issue Mar 16, 2023
@lulu2panpan
Copy link
Collaborator Author

lulu2panpan commented Mar 16, 2023

add a new parameter named canal.instance.multi.stream.on , default value is false. each instance can has different configured value with this parameter, but when launch a docker process with run.sh, this parameter is in effect for all instances,thus you can assign multiple instances with parameter canal.destinations, assure that the instance name is same to polardbx binlog stream name, @see https://help.aliyun.com/document_detail/609184.html

Example :
sh run.sh -e canal.auto.scan=false
-e canal.destinations=group1_stream_0,group1_stream_1,group1_stream_2
-e canal.instance.master.address=127.0.0.1:3306
-e canal.instance.dbUsername=canal
-e canal.instance.dbPassword=canal
-e canal.instance.connectionCharset=UTF-8
-e canal.instance.tsdb.enable=true
-e canal.instance.gtidon=false
-e canal.instance.multi.stream.on=true \

lulu2panpan added a commit to lulu2panpan/canal that referenced this issue Mar 17, 2023
agapple pushed a commit that referenced this issue Mar 23, 2023
* AbstractCanalInstance的subscribeChange方法,增加对AbstractEventParser的类型判断,以支持用户的自定义CanalEventParser

* MysqlEventParser对Gtid模式的处理需要考虑兼容性,支持系统平滑的从非gtid模式升级为gtid模式

* add support for polardbx multi binlog streams #4657

* support auto generate instance names #4657
@agapple agapple added this to the v1.1.7 milestone Jul 29, 2023
@agapple agapple self-assigned this Jul 29, 2023
@agapple agapple closed this as completed Jul 29, 2023
zoemak pushed a commit to zoemak/canal that referenced this issue Jan 30, 2024
* AbstractCanalInstance的subscribeChange方法,增加对AbstractEventParser的类型判断,以支持用户的自定义CanalEventParser

* MysqlEventParser对Gtid模式的处理需要考虑兼容性,支持系统平滑的从非gtid模式升级为gtid模式

* add support for polardbx multi binlog streams alibaba#4657

* support auto generate instance names alibaba#4657
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