JunRuiLee commented on code in PR #25798: URL: https://github.com/apache/flink/pull/25798#discussion_r1893740118
########## flink-runtime/src/main/java/org/apache/flink/streaming/api/graph/StreamGraphContext.java: ########## @@ -62,4 +62,13 @@ public interface StreamGraphContext { * @return true if all modifications were successful and applied atomically, false otherwise. */ boolean modifyStreamEdge(List<StreamEdgeUpdateRequestInfo> requestInfos); + + interface StreamGraphUpdateListener { + /** + * This method is called whenever the StreamGraph is updated. + * + * @param streamGraph the updated StreamGraph + */ + void onStreamGraphUpdated(StreamGraph streamGraph); Review Comment: And I checked the JobStatusListener you mentioned once again. You can see that the only job-specific element in its interface is the JobID, and in its implementation, this attribute is not used at all. In other words, although its interface may be designed this way for certain reasons, the job-specific identifier is completely redundant. -- 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