Hello Flink community,

what is the equivalent of the ScheduleOrUpdateConsumers message in the pipeline execution mode for the batch execution mode?

When I run a WordCount in pipeline mode, the scheduling of the receiving tasks is initiated in the ResultPartition class via the function notifyPipelinedConsumers*. This leads to a ScheduleOrUpdateConsumers message being sent to the JobManager and the JobManager takes care of the rest.

In the batch mode this does not seem to be the case, as the notifyPipelinedConsumers function will only work in the pipeline execution mode:

> if (partitionType.isPipelined() && !hasNotifiedPipelinedConsumers)

So then, how is the consumer scheduled, or at least notified of the consumable partition?

Cheers,
Niklas

* https://github.com/apache/flink/blob/572a45b379ca2231d772db4f115749fa08afcd10/flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/ResultPartition.java#L416

Reply via email to