This commit is contained in:
mcy
2018-11-29 17:38:13 +08:00
parent 65f2695963
commit 339ecdd817
2 changed files with 28 additions and 20 deletions

View File

@@ -50,6 +50,8 @@ public class CanalLauncher {
if (canalMQProducer != null) {
// disable netty
System.setProperty(CanalConstants.CANAL_WITHOUT_NETTY, "true");
System.setProperty(CanalConstants.CANAL_DESTINATIONS,
properties.getProperty(CanalConstants.CANAL_DESTINATIONS));
}
logger.info("## start the canal server.");