Skip to content

自定义规则,只有一个topic,一个表对应一个分区,kafka #5347

@1036225283

Description

@1036225283

Why you need it?

业务需求,只有一个topic,一个表对应一个分区

How it could be?

Other related information

canal.mq.dynamicTopic=self|test_db.test_table2:1,test_db.test_table1:2,test_db.test_table:3
解析dynamicTopic,如果是self|打头,就执行自定义的规则
test_db.test_table2的数据变动同步到topic的分区1
test_db.test_table1的数据变动同步到topic的分区2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions