jiexray commented on code in PR #25996: URL: https://github.com/apache/flink/pull/25996#discussion_r1920956871
########## flink-runtime/src/main/java/org/apache/flink/streaming/api/windowing/assigners/WindowAssigner.java: ########## @@ -64,6 +66,13 @@ public abstract Collection<W> assignWindows( */ public abstract Trigger<T, W> getDefaultTrigger(); + /** Returns the default async trigger associated with this {@code WindowAssigner}. */ + @Experimental + public AsyncTrigger<T, W> getDefaultAsyncTrigger() { + // Subclass should override this method if they support async state processing. + throw new RuntimeException("The assigner does not support async state."); + } + Review Comment: Resolved. Yes, `getDefaultAsyncTrigger()` is no use, and I have removed it from `WindowAssigner`. -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org