Open dyrnq opened 4 weeks ago
canal.mq.partition=0 # hash partition config #canal.mq.partitionsNum=3 #canal.mq.partitionHash=test.table:id^name,.*\\..*
The canal.mq.partition parameter actually indicates the default partition to be written when canal.mq.partitionsNum and canal.mq.partitionHash are not set.
canal.mq.partition
canal.mq.partitionsNum
canal.mq.partitionHash
That means they can't coexist.
xref canal无法写入kafka多分区