You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2019/10/25 00:27:17 UTC

[GitHub] [incubator-pinot] vincentchenjl commented on a change in pull request #4724: [TE] Add event trigger listener for event driven scheduling

vincentchenjl commented on a change in pull request #4724: [TE] Add event trigger listener for event driven scheduling
URL: https://github.com/apache/incubator-pinot/pull/4724#discussion_r338844510
 
 

 ##########
 File path: thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/anomaly/detection/trigger/TriggerEventListener.java
 ##########
 @@ -0,0 +1,85 @@
+package org.apache.pinot.thirdeye.anomaly.detection.trigger;
+
+import java.util.List;
+import org.apache.pinot.thirdeye.anomaly.detection.trigger.filter.TriggerEventFilter;
+import org.apache.pinot.thirdeye.anomaly.detection.trigger.utils.DatasetTriggerInfoRepo;
+import org.apache.pinot.thirdeye.datalayer.bao.DatasetConfigManager;
+import org.apache.pinot.thirdeye.datasource.DAORegistry;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+public class TriggerEventListener implements Runnable {
+  private static final Logger LOG = LoggerFactory.getLogger(TriggerEventListener.class);
+  private KafkaTriggerEventConsumer _consumer;
+  private final List<TriggerEventFilter> _filters;
+  private static final DAORegistry DAO_REGISTRY = DAORegistry.getInstance();
+  private DatasetTriggerInfoRepo _datasetTriggerInfoRepo;
+  private DatasetConfigManager _datasetConfigManager;
+  private boolean closed;
 
 Review comment:
   Removed it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org