Hello everybody!
I have a simple question. Let’s say there is a Flow depending on some configuration parameter:
Source -> Flow(Parameter) -> Sink
Source emits data pretty fast - every second. Configuration parameter is relatively stable, but also may get changed. May be once a day user wants to modify it. So, what is the best way to implement this?
I see two ways
- Every time user submit new parameter rebuild everything.
- Consider Parameter as separate stream with its own source. Every time user updates it emit new value.
Or may there is something else?
What would be the best way? Any advice?
Thank you,
Andrey
3 posts - 3 participants