With Flink 1.9, you cannot dynamically broadcast to all channels anymore. Your StreamPartitioner
has to statically specify if it's a broadcast with isBroadcast
. Then, selectChannel
is never invoked.
Do you have a specific use case, where you'd need to dynamically switch?
Best,
Arvid