diff --git a/indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/supervisor/SeekableStreamSupervisor.java b/indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/supervisor/SeekableStreamSupervisor.java index f593f7c68b4..d5e7257b0bc 100644 --- a/indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/supervisor/SeekableStreamSupervisor.java +++ b/indexing-service/src/main/java/org/apache/druid/indexing/seekablestream/supervisor/SeekableStreamSupervisor.java @@ -93,6 +93,8 @@ import org.joda.time.DateTime; import javax.annotation.Nullable; import javax.validation.constraints.NotNull; import java.io.IOException; +import java.time.Duration; +import java.time.Instant; import java.util.ArrayList; import java.util.Collection; import java.util.Collections; @@ -825,10 +827,10 @@ public abstract class SeekableStreamSupervisor notices.add(new RunNotice()); + return () -> addNotice(new RunNotice()); } @Override @@ -1274,7 +1280,7 @@ public abstract class SeekableStreamSupervisor