yunfengzhou-hub commented on code in PR #20275:
URL: https://github.com/apache/flink/pull/20275#discussion_r928496513
##########
flink-runtime/src/main/java/org/apache/flink/runtime/operators/coordination/OperatorEventDispatcher.java:
##########
@@ -29,6 +29,9 @@ public interface OperatorEventDispatcher {
/**
* Register a listener that is notified every time an OperatorEvent is
sent from the
* OperatorCoordinator (of the operator with the given OperatorID) to this
subtask.
+ *
+ * <p>The stream operator with the given OperatorID must implement {@link
OperatorEventHandler}
Review Comment:
Because our consistency mechanism requires communications in both
directions, all operators with the corresponding OC must be registered as
handlers.
This is not required for implementations in this PR and may be used in our
solution's second phase to ticket FLINK-26029. So I'll remove this doc for now
and possibly add it back in the next PR.
--
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]