mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
代码整理
This commit is contained in:
@@ -45,7 +45,7 @@ canal.instance.filter.black.regex=
|
|||||||
|
|
||||||
# mq config
|
# mq config
|
||||||
canal.mq.topic=example
|
canal.mq.topic=example
|
||||||
# 但分区指定分区0
|
# 多分区指定分区0
|
||||||
canal.mq.partition=0
|
canal.mq.partition=0
|
||||||
# 多分区指定分区数量
|
# 多分区指定分区数量
|
||||||
#canal.mq.partitionsNum=3
|
#canal.mq.partitionsNum=3
|
||||||
|
|||||||
@@ -21,9 +21,6 @@ public class MQProperties {
|
|||||||
private Long canalGetTimeout = 100L;
|
private Long canalGetTimeout = 100L;
|
||||||
private boolean flatMessage = true;
|
private boolean flatMessage = true;
|
||||||
|
|
||||||
// private List<CanalDestination> canalDestinations = new
|
|
||||||
// ArrayList<CanalDestination>();
|
|
||||||
|
|
||||||
public static class CanalDestination {
|
public static class CanalDestination {
|
||||||
|
|
||||||
private String canalDestination;
|
private String canalDestination;
|
||||||
|
|||||||
Reference in New Issue
Block a user