mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
kafka producer 修改配置,一个destination可以对应多个kafka topic
This commit is contained in:
@@ -3,13 +3,16 @@ retries: 0
|
||||
batchSize: 16384
|
||||
lingerMs: 1
|
||||
bufferMemory: 33554432
|
||||
# canal的批次大小,单位 k
|
||||
canalBatchSize: 5
|
||||
|
||||
topics:
|
||||
- topic: example
|
||||
canalDestinations:
|
||||
- canalDestination: example
|
||||
topic: example
|
||||
partition:
|
||||
canalDestination: example
|
||||
# - topic: example2
|
||||
# partition:
|
||||
# canalDestination: example
|
||||
# 一个destination可以对应多个topic
|
||||
# topics:
|
||||
# - topics: example
|
||||
# partition:
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user