WencongLiu commented on code in PR #22316:
URL: https://github.com/apache/flink/pull/22316#discussion_r1158528662


##########
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/netty/NettyMessage.java:
##########
@@ -895,6 +898,52 @@ public String toString() {
         }
     }
 
+    /** Message to notify producer about the required segment id. */
+    static class SegmentId extends NettyMessage {
+
+        private static final byte ID = 11;
+
+        final int segmentId;
+
+        final InputChannelID receiverId;
+
+        SegmentId(int segmentId, InputChannelID receiverId) {
+            checkArgument(segmentId > 0L, "The segmentId should be greater 
than 0");

Review Comment:
   Done.



-- 
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]

Reply via email to