yunfengzhou-hub commented on code in PR #23927:
URL: https://github.com/apache/flink/pull/23927#discussion_r1433794402
##########
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/buffer/Buffer.java:
##########
@@ -304,7 +306,15 @@ enum DataType {
RECOVERY_COMPLETION(false, true, true, false, false),
/** {@link #END_OF_SEGMENT} indicates that a segment is finished in a
subpartition. */
- END_OF_SEGMENT(false, true, false, false, false);
+ END_OF_SEGMENT(false, true, false, false, false),
+
+ /**
+ * {@link #END_OF_DATA} indicates that there will be no more data
buffer in a subpartition.
+ */
+ END_OF_DATA(false, true, false, false, false),
Review Comment:
EndOfData and EndOfPartitionEvent are RuntimeEvent subclasses, while here we
need Buffer.DataType enum values.
--
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]