add setAlarmHandler for otter

This commit is contained in:
yinxiu
2016-01-11 16:15:41 +08:00
parent 7b29828f60
commit ed74d934d3
2 changed files with 8 additions and 2 deletions

View File

@@ -74,6 +74,10 @@ public class AbstractCanalInstance extends AbstractCanalLifeCycle implements Can
metaManager.start();
}
if (!alarmHandler.isStart()) {
alarmHandler.start();
}
if (!eventStore.isStart()) {
eventStore.start();
}