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
[BUG] Message loss may occur during channel shutdown #459
Describe the bug SourceConnector.dispatchBatchMessage does not distinguish "channel is shutting down" vs "batch contained no messages" to callers, so messages may be silently lost during shutdown.
Caught by @gibson9583 in #453, but seems to affect all callers of dispatchBatchMessage (including TCP/File/... that has Process Batch enabled).
To Reproduce
Repeatedly send batches
On a separate thread, cycle the channel up and down
Expected behavior
Every message should succeed or fail
Successful messages should be observable in the channel
Actual behavior
Messages can fail silently and are not observable in the channel
Activity
jonbartels commentedon Sep 29, 2026
mgaffigan#8 Likely fixes this. I was going to add it to 452 but its a bigger change.