整理代码

This commit is contained in:
mcy
2018-09-14 11:45:52 +08:00
parent f3d1c8b754
commit db56effd91
@@ -156,18 +156,14 @@ public class CanalAdapterKafkaWorker extends AbstractCanalAdapterWorker {
TimeUnit.SECONDS.sleep(1L);
}
}
} catch (
Exception e) {
} catch (Exception e) {
logger.error(e.getMessage(), e);
}
}
executor.shutdown();
try
{
try {
connector.unsubscribe();
} catch (WakeupException e) {
// No-op. Continue process