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: reconnectAttempt in KafkaClientApiFactory is never reset #3256
By reading KafkaClientApiFactory (found while working on #3213; not run): the reconnectAttempt counter of the API client is incremented on a reconnect but never reset after a successful connection, so the back-off for a later reconnect keeps growing from where an earlier outage left it.
First step (verify before changing code)
Write a scenario that shows it: a reconnect after an earlier successful reconnect uses the back-off of the first attempt rather than starting again. If it cannot be shown, or the counter is reset elsewhere, record the analysis on this issue and close it as not planned. Compare with how the fetch and produce factories reset their own reconnect state and mirror that.
Test plan (test-first)
Scripts under specs/binding-kafka.spec and a runtime IT method in the existing API IT class; the first commit holds the failing test.
Activity
fix(binding-kafka): restart api client reconnect back-off after a con…