Skip to content

binding-kafka: a failure of any meta stream on a route releases the streams waiting for a broker table refresh (design) #3255

Closed

Description

@jfallows

Problem

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

  1. self-assigned this
    on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions