Skip to content

fix(connectors): reject duplicate SDK open calls#3265

Draft
MukundaKatta wants to merge 4 commits into
apache:masterfrom
MukundaKatta:fix/sink-source-connector-duplicate-open
Draft

fix(connectors): reject duplicate SDK open calls#3265
MukundaKatta wants to merge 4 commits into
apache:masterfrom
MukundaKatta:fix/sink-source-connector-duplicate-open

Conversation

@MukundaKatta
Copy link
Copy Markdown
Contributor

Summary

  • Publishes the scoped fix from fix/sink-source-connector-duplicate-open.

Validation

  • Not rerun during this batch PR publishing pass.

MukundaKatta and others added 4 commits April 25, 2026 16:52
The sink_connector! and source_connector! macros silently overwrote
an existing INSTANCES entry on a duplicate open call, discarding any
in-flight buffered data and orphaning the prior connector tasks.
Return -1 on duplicate id so callers see the failure and can drain or
close explicitly before re-opening.

Closes apache#3168.

Signed-off-by: Mukunda Rao Katta <mukunda.vjcs6@gmail.com>
@MukundaKatta MukundaKatta changed the title Merge remote-tracking branch 'upstream/master' into fix/sink-source-connector-duplicate-open fix(connectors): reject duplicate SDK open calls May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants