I need to make an AsyncIO rich function perform calls based on the latest set of rules. For operations like map I was able to process a BroadcastConnectedStream with a rich function by following this blog post: https://flink.apache.org/2019/06/26/broadcast-state.html
However, creating an AsyncIO function requires a DataStream as an input, which the BroadcastConnectedStream isn't (https://ci.apache.org/projects/flink/flink-docs-stable/api/java/index.html?org/apache/flink/streaming/api/datastream/BroadcastConnectedStream.html)
Does anyone have any ideas on how I could work around this limitation? The scenario is that I want an async function to stash incoming messages in the state when there's a non-transient error with an async call to the outside world, and resume operation once a "go-ahead" message is received on kafka (which I though I could do with a broadcast stream)