Skip to content

Kafka Connect: fix table UUID check#15011

Merged
bryanck merged 2 commits intoapache:mainfrom
bryanck:kc-uuid-check-fix
Jan 9, 2026
Merged

Kafka Connect: fix table UUID check#15011
bryanck merged 2 commits intoapache:mainfrom
bryanck:kc-uuid-check-fix

Conversation

@bryanck
Copy link
Contributor

@bryanck bryanck commented Jan 9, 2026

This PR makes a couple of fixes to the table UUID check that was added to the Kafka Connect coordinator. First, it skips the commit if the UUIDs don't match, currently it just logs a warning but continues on. Second, it only compares the UUID if the message had it set. This is to handle the upgrade case, where existing messages in the control topic do not have the UUID set because they were created before this change was added.

@amogh-jahagirdar
Copy link
Contributor

Looks like there's some related failing tests, though it may just be a gap in expectations/assumptions based on the new UUID check. But thanks for fixing this @bryanck , and thanks for catching this @singhpk234 !

Copy link
Contributor

@singhpk234 singhpk234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks @bryanck !

@bryanck
Copy link
Contributor Author

bryanck commented Jan 9, 2026

Thanks for the review @amogh-jahagirdar and @singhpk234 !

@bryanck bryanck merged commit b2696b9 into apache:main Jan 9, 2026
14 checks passed
@danielcweeks
Copy link
Contributor

danielcweeks commented Jan 9, 2026

Late +1, Thanks @bryanck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants