Merge pull request #1232 from rewerma/master

fixed #1229
This commit is contained in:
agapple
2018-11-30 13:45:10 +08:00
committed by GitHub
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.");