mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
Merge branch 'develop-tmp'
# Conflicts: # kafka-client/pom.xml # kafka/pom.xml
This commit is contained in:
@@ -9,6 +9,8 @@ canal.zkServers=
|
||||
# flush data to zk
|
||||
canal.zookeeper.flush.period = 1000
|
||||
canal.withoutNetty = false
|
||||
# tcp, kafka, rocketMQ
|
||||
canal.serverMode = tcp
|
||||
# flush meta cursor/parse position to file
|
||||
canal.file.data.dir = ${canal.conf.dir}
|
||||
canal.file.flush.period = 1000
|
||||
|
||||
19
deployer/src/main/resources/kafka.yml
Normal file
19
deployer/src/main/resources/kafka.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
servers: slave1:6667,slave2:6667,slave3:6667
|
||||
retries: 0
|
||||
batchSize: 16384
|
||||
lingerMs: 1
|
||||
bufferMemory: 33554432
|
||||
# canal的批次大小,单位 k,量大建议改为1M
|
||||
canalBatchSize: 50
|
||||
filterTransactionEntry: true
|
||||
|
||||
canalDestinations:
|
||||
- canalDestination: example
|
||||
topic: example
|
||||
partition:
|
||||
# 一个destination可以对应多个topic
|
||||
#topics:
|
||||
# - topic: example
|
||||
# partition:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user