mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
增加kafka producer sender的callback,canal和kafka同步提交回滚
去除一个canal实例对应多个kafka topic的机制,一个实例只对应一个topic kafka模式下server端的批次大小不能超过1M,最大为900K
This commit is contained in:
@@ -3,15 +3,11 @@ retries: 0
|
||||
batchSize: 16384
|
||||
lingerMs: 1
|
||||
bufferMemory: 33554432
|
||||
filterTransactionEntry: true
|
||||
canalBatchSize: 50 # Canal的batch size, 默认50K, 由于kafka最大消息体限制请勿超过1M(900K以下)
|
||||
|
||||
canalDestinations:
|
||||
- canalDestination: example
|
||||
topic: example
|
||||
partition:
|
||||
# 一个destination可以对应多个topic
|
||||
#topics:
|
||||
# - topic: example
|
||||
# partition:
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user