xiaohui-sun commented on a change in pull request #4777: [TE] add event driven 
scheduler
URL: https://github.com/apache/incubator-pinot/pull/4777#discussion_r343842730
 
 

 ##########
 File path: 
thirdeye/thirdeye-pinot/src/main/java/org/apache/pinot/thirdeye/anomaly/ThirdEyeAnomalyApplication.java
 ##########
 @@ -185,10 +187,16 @@ public void start() throws Exception {
           detectionAlertScheduler = new DetectionAlertScheduler();
           detectionAlertScheduler.start();
         }
-        if (config.isTriggerEventListener()) {
-          dataAvailabilityEventListenerDriver = new 
DataAvailabilityEventListenerDriver(config.getDataAvailabilityListenerConfiguration());
+        if (config.isDataAvailabilityEventListener()) {
+          dataAvailabilityEventListenerDriver = new 
DataAvailabilityEventListenerDriver(config.getDataAvailabilitySchedulingConfiguration());
           dataAvailabilityEventListenerDriver.start();
         }
+        if (config.isDataAvailabilityEventScheduler()) {
 
 Review comment:
   "isDataAvailabilityTaskScheduler"

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to