org.apache.flink.runtime.io.network.partition.consumer.BufferOrEvent to java.util.Optional<org.apache.flink.runtime.io.network.partition.consumer.BufferOrEvent>