You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
binding-kafka: a failure of any meta stream on a route releases the streams waiting for a broker table refresh (design) #3255
In the unknown-broker-id refresh (#3213, PR #3232) the route's completion registry fires on the first completion or failure of any meta stream on the route. A failure of a meta stream that was not carrying the refresh a stream is waiting for therefore also releases that waiting stream, with a reset, before its own refresh has finished.
Expected
Decide, and record on this issue, whether a waiting stream should be released only by the refresh it triggered (correlated by the flush it caused) or whether the current first-completion-or-failure rule is acceptable because the caller re-issues its request after any reset. If it should be correlated, say how the registry can tell which meta stream carries which flush, mirroring how the route already ties a flush to a meta stream.
First step
Read KafkaClientRoute and KafkaClientMetaFactory and say whether a route can have more than one meta stream at the same time in practice. If it cannot, record that and close as not planned; do not change code.
Notes
Design question first; no code until the decision. Follow-up to #3213.
Activity