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

希望canal连接kafka配置partitionsNum可以根据不同topic设置 #2173

Closed
corradignw opened this issue Sep 10, 2019 · 3 comments
Closed
Labels
Milestone

Comments

@corradignw
Copy link

目前partitionsNum,一个实例只能有一个配置。但很多业务场景会根据不同topic有不同的分区设置,以区分热点。

希望可以把partitionsNum设成根据topic来设置。或是先有一个总体默认值,再可以具体针对特定topic来配置。

@corradignw
Copy link
Author

虽然程序动态无法设置分区,但可以通过外部命令自行先建立静态topic和分区,再在canal配置中指定也好啊。

@agapple
Copy link
Member

agapple commented Sep 12, 2019

可以考虑提交一个PR给我

@GuangYaoLee92
Copy link
Contributor

GuangYaoLee92 commented Dec 18, 2019

@agapple
你好,我提交了一个PR
#2479
烦请抽空审查

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants