DataChannelBeanFactory
Responsible for all wiring that depends directly on the data channel medium.
Functions
The input flows from which the pipeline will read. The size of the array will always be equal to @Named("numInputPartitions")numInputPartitions.
The medium uses for the data channel. One of DataChannelMedium. This value is determined here in order to have a single source of truth.
The number of input partitions used by the pipeline. For STDIO syncs, this is the number of partitions to which the input stream is split. For SOCKETS syncs, this will be the number of socket flows.
PRIVATE: Do not use outside this factory.
Because sockets uses multiple threads, state must be kept coherent by
Because sockets will be implemented as cold flows, the heartbeat behavior will have to reside in the readers.
Sockets will be implemented as cold flows, so a task is only needed for reading from STDIO.