You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "cmccabe (via GitHub)" <gi...@apache.org> on 2025/03/06 18:23:34 UTC

Re: [PR] MINOR: Allow for scheduling delay for periodic tasks to be configurable when ControllerResult.response = true [kafka]

cmccabe commented on code in PR #19143:
URL: https://github.com/apache/kafka/pull/19143#discussion_r1983855742


##########
metadata/src/main/java/org/apache/kafka/controller/PeriodicTask.java:
##########
@@ -43,6 +50,8 @@ class PeriodicTask {
      */
     private final EnumSet<PeriodicTaskFlag> flags;
 
+    private static final long IMMEDIATE_PERIOD_NS = MILLISECONDS.toNanos(10);

Review Comment:
   Can you add a new constructor that allows setting this? You can leave the old constructor with this as the default, of course.



-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org