CanalConnector接口去掉stopRunning接口

This commit is contained in:
mcy
2018-10-29 01:40:34 +08:00
parent 2e1d0e36c5
commit b131e8cfa4
10 changed files with 38 additions and 46 deletions

View File

@@ -88,7 +88,6 @@ public class CanalKafkaClientExample {
if (!running) {
return;
}
connector.stopRunning();
running = false;
if (thread != null) {
try {

View File

@@ -87,7 +87,6 @@ public class CanalRocketMQClientExample extends AbstractRocektMQTest {
if (!running) {
return;
}
connector.stopRunning();
running = false;
if (thread != null) {
try {
@@ -134,6 +133,6 @@ public class CanalRocketMQClientExample extends AbstractRocektMQTest {
} catch (WakeupException e) {
// No-op. Continue process
}
connector.stopRunning();
// connector.stopRunning();
}
}