mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
去掉kafka canalBatchSize使用默认50
This commit is contained in:
@@ -3,8 +3,6 @@ retries: 0
|
|||||||
batchSize: 16384
|
batchSize: 16384
|
||||||
lingerMs: 1
|
lingerMs: 1
|
||||||
bufferMemory: 33554432
|
bufferMemory: 33554432
|
||||||
# canal的批次大小,单位 k,量大建议改为1M
|
|
||||||
canalBatchSize: 50
|
|
||||||
filterTransactionEntry: true
|
filterTransactionEntry: true
|
||||||
|
|
||||||
canalDestinations:
|
canalDestinations:
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ public class KafkaProperties {
|
|||||||
private int lingerMs = 1;
|
private int lingerMs = 1;
|
||||||
private long bufferMemory = 33554432L;
|
private long bufferMemory = 33554432L;
|
||||||
private boolean filterTransactionEntry = true;
|
private boolean filterTransactionEntry = true;
|
||||||
private int canalBatchSize = 5;
|
private int canalBatchSize = 50;
|
||||||
|
|
||||||
private List<CanalDestination> canalDestinations = new ArrayList<CanalDestination>();
|
private List<CanalDestination> canalDestinations = new ArrayList<CanalDestination>();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user