Assume I have a config stream which I would like to broadcast to all instances of process operators and I have another non-keyed input stream. I want to have such ProcessFunction/WindowFunction that can take the config stream and the input stream and can periodically process cached inputs.
I know one solution would be using KeyedProcessFunction with a hardcoded key. (Maybe I am wrong) But I am trying to avoid using it because I think ProcessFunction would save network transmission since inputs will be evenly distributed to all instances of the process function in different task managers.
Any help will be appreciated!