TanYuxin-tyx commented on code in PR #23927: URL: https://github.com/apache/flink/pull/23927#discussion_r1432220667
########## 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: We already had `EndOfData` and `EndOfPartitionEvent` events, and why not reuse them here? -- 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