去掉kafka canalBatchSize使用默认50

This commit is contained in:
mcy
2018-08-28 15:52:36 +08:00
parent d5122dcf50
commit bcf30a9a05
2 changed files with 1 additions and 3 deletions

View File

@@ -3,8 +3,6 @@ retries: 0
batchSize: 16384
lingerMs: 1
bufferMemory: 33554432
# canal的批次大小,单位 k,量大建议改为1M
canalBatchSize: 50
filterTransactionEntry: true
canalDestinations:

View File

@@ -19,7 +19,7 @@ public class KafkaProperties {
private int lingerMs = 1;
private long bufferMemory = 33554432L;
private boolean filterTransactionEntry = true;
private int canalBatchSize = 5;
private int canalBatchSize = 50;
private List<CanalDestination> canalDestinations = new ArrayList<CanalDestination>();