Reputation: 11
I have a question about flink' state. I want to know whether state could be shared by several stream. Thank you.
Upvotes: 0
Views: 387
Reputation: 43707
A given piece of Flink state is held in a single operator. But that operator can be something like a RichCoFlatmap
or a CoProcessFunction
, and receive and process inputs from two streams (and you can cascade these if more than two streams are involved).
Your question is very broad, so it's not clear if this approach matches the use case you have in mind.
Upvotes: 2