Is there a broadcast state feature available in Flink Statefun, just like Apache Flink (Broadcast State Pattern) ?
Asked
Active
Viewed 113 times
1 Answers
0
No, there is no built-in support for broadcasting messages; the built-in messaging always involves sending messages to specific addresses.
You can, however, implement a pub-sub model yourself, by having subscribers register their interest with a function that acts as a message broker.

David Anderson
- 39,434
- 4
- 33
- 60
-
Sounds good. Thanks David. – mans2singh Apr 21 '22 at 12:52
-
How would you do that, if the subscriber functions have really many IDs, say 50 million? I guess storing so many target IDs in the broker function would be too much for the way state is handled for remote functions (sending it over HTTP). – Chr1s May 10 '22 at 19:02