开发者社区 问答 正文

请教下canal.mq.properties.的用法

#canal.mq.properties. =

这个wiki里没有解释 是不是说, 比如我用kafka, 想设置

enable.idempotence=true max.in.flight.requests.per.connection=1

那么就在canal.properties里添加

canal.mq.properties.enable.idempotence=true canal.mq.properties.max.in.flight.requests.per.connection=1

是这个意思么?实测了不可以

渣渣运维不会JAVA..

原提问者GitHub用户Fanduzi

展开
收起
Java工程师 2023-05-03 11:02:12 102 分享 版权
1 条回答
写回答
取消 提交回答
  • 这里说了目前1.1.4 max.in.flight.requests.per.connection =1 是写死到代码里了, 不用设置了

    enable.idempotence=true 这个其实感觉意义不大, 反正HA切换的时候是肯定有重复的

    原回答者GitHub用户Fanduzi

    2023-05-04 15:10:06
    赞同 展开评论