fix #912 通过maven插件将guava修改包路径打包进canal.client

This commit is contained in:
mcy
2018-09-11 11:35:47 +08:00
parent 32910b5983
commit e450c3f83f
2 changed files with 156 additions and 3 deletions

View File

@@ -33,7 +33,7 @@ public class CanalAdapterKafkaWorker extends AbstractCanalAdapterWorker {
this.topic = topic;
this.canalDestination = topic;
connector = KafkaCanalConnectors.newKafkaConnector(zkServers, bootstrapServers, topic, null, groupId);
// connector.setSessionTimeout(5L, TimeUnit.MINUTES);
connector.setSessionTimeout(5L, TimeUnit.MINUTES);
// super.initSwitcher(topic);
}