mirror of
https://github.com/alibaba/canal.git
synced 2026-11-04 00:30:15 +08:00
修改bootstrapServers为mqServers
This commit is contained in:
@@ -17,7 +17,7 @@ public class CanalClientConfig {
|
||||
|
||||
private String zookeeperHosts; // 集群模式下的zk地址, 如果配置了单机地址则以单机为准!!
|
||||
|
||||
private String bootstrapServers; // kafka or rocket mq 地址
|
||||
private String mqServers; // kafka or rocket mq 地址
|
||||
|
||||
private Boolean flatMessage = true; // 是否已flatMessage模式传输, 只适用于mq模式
|
||||
|
||||
@@ -47,12 +47,12 @@ public class CanalClientConfig {
|
||||
this.zookeeperHosts = zookeeperHosts;
|
||||
}
|
||||
|
||||
public String getBootstrapServers() {
|
||||
return bootstrapServers;
|
||||
public String getMqServers() {
|
||||
return mqServers;
|
||||
}
|
||||
|
||||
public void setBootstrapServers(String bootstrapServers) {
|
||||
this.bootstrapServers = bootstrapServers;
|
||||
public void setMqServers(String mqServers) {
|
||||
this.mqServers = mqServers;
|
||||
}
|
||||
|
||||
public List<MQTopic> getMqTopics() {
|
||||
|
||||
Reference in New Issue
Block a user