AHeise commented on a change in pull request #11507: [FLINK-16587] Add basic
CheckpointBarrierHandler for unaligned checkpoint
URL: https://github.com/apache/flink/pull/11507#discussion_r402576918
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/api/writer/ResultPartitionWriter.java
##########
@@ -67,6 +68,13 @@
*/
boolean addBufferConsumer(BufferConsumer bufferConsumer, int
subpartitionIndex) throws IOException;
+ default void addPriorityEvent(
+ AbstractEvent event,
+ int subpartitionIndex,
+ BufferConsumer eventBufferConsumer) throws IOException {
+ getSubpartition(subpartitionIndex).priorityEvent(event,
eventBufferConsumer);
Review comment:
The previous way did not work with `LocalInputChannel`, where I added
`PriorityEventListener`. I figured it could be used everywhere. If you have
concerns about the current way, I can of course revert to POC code.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services