use of org.apache.inlong.manager.service.thirdparty.mq.TubeEventSelector in project incubator-inlong by apache.
the class ServiceTaskListenerFactory method init.
@PostConstruct
public void init() {
sourceOperateListeners = new LinkedHashMap<>();
sourceOperateListeners.put(sourceStopListener, new SourceStopEventSelector());
sourceOperateListeners.put(sourceDeleteListener, new SourceDeleteEventSelector());
sourceOperateListeners.put(sourceRestartListener, new SourceRestartEventSelector());
sinkOperateListeners = new LinkedHashMap<>();
sinkOperateListeners.put(createHiveTableListener, createHiveTableEventSelector);
queueOperateListeners = new LinkedHashMap<>();
queueOperateListeners.put(createTubeTopicTaskListener, new TubeEventSelector());
queueOperateListeners.put(createTubeGroupTaskListener, new TubeEventSelector());
queueOperateListeners.put(createPulsarResourceTaskListener, new PulsarEventSelector());
queueOperateListeners.put(createPulsarGroupTaskListener, new PulsarEventSelector());
sortOperateListeners = new LinkedHashMap<>();
sortOperateListeners.put(pushSortConfigListener, zkEnabledEventSelector);
sortOperateListeners.put(createSortConfigListener, zkDisabledEventSelector);
}
Aggregations