Add mq adapter

Signed-off-by: duhengforever <duhengforever@gmail.com>
This commit is contained in:
duhengforever
2018-09-21 18:41:37 +08:00
parent d5aa324ce4
commit 821f3eced5
5 changed files with 40 additions and 28 deletions

View File

@@ -111,11 +111,20 @@ public class CanalClientConfig {
}
public static class MQTopic {
private String mqMode;
private String topic;
private List<Group> groups = new ArrayList<>();
public String getMqMode() {
return mqMode;
}
public void setMqMode(String mqMode) {
this.mqMode = mqMode;
}
public String getTopic() {
return topic;
}