cryptoe commented on code in PR #17442:
URL: https://github.com/apache/druid/pull/17442#discussion_r1847619477
##########
indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/SeekableStreamIndexTaskRunner.java:
##########
@@ -267,6 +271,18 @@ public SeekableStreamIndexTaskRunner(
this.ingestionState = IngestionState.NOT_STARTED;
this.lockGranularityToUse = lockGranularityToUse;
+ minMessageTime = ioConfig.getMinimumMessageTime().or(DateTimes.MIN);
+ maxMessageTime = ioConfig.getMaximumMessageTime().or(DateTimes.MAX);
+
+ if (ioConfig.getRefreshRejectionPeriodsInMinutes() != null) {
+ Execs.scheduledSingleThreaded("RejectionPeriodUpdater-Exec--%d")
Review Comment:
This seems to be creating on thread for each supervisor. Seems a bit much no
? Can we use a common exec service for this ?
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]