增加kafka get的超时时间

This commit is contained in:
mcy
2018-09-04 09:39:02 +08:00
parent 17f345bfe5
commit 81c216f1c1
3 changed files with 25 additions and 2 deletions

View File

@@ -3,7 +3,11 @@ retries: 0
batchSize: 16384
lingerMs: 1
bufferMemory: 33554432
canalBatchSize: 50 # Canal的batch size, 默认50K, 由于kafka最大消息体限制请勿超过1M(900K以下)
# Canal的batch size, 默认50K, 由于kafka最大消息体限制请勿超过1M(900K以下)
canalBatchSize: 50
# Canal get数据的超时时间, 单位: 毫秒, 空为不限超时
canalGetTimeout: 100
canalDestinations:
- canalDestination: example