Skip to content

upgrade Shopify/sarama -> IBM/sarama (dp-kafka/v5)#101

Merged
jessjenkins merged 4 commits intomainfrom
feature/upgrade-sarama
Jan 6, 2026
Merged

upgrade Shopify/sarama -> IBM/sarama (dp-kafka/v5)#101
jessjenkins merged 4 commits intomainfrom
feature/upgrade-sarama

Conversation

@jessjenkins
Copy link
Contributor

What

Upgraded version of sarama to support v3.8.0 of kafka connector. This also required the following…

  • Switch from obsolete Shopify/sarama package to IBM/sarama (this caused breaking change to exported functions)
  • Upgrade to version v1.45.2 of sarama (latest working version of sarama that contains 3.8. Newer versions hang on tests which will need to be fixed in a minor version update of dp-kafka)
  • Fix healthcheck functionality. Older versions only returned a list of topics handled by the broker, but newer version also returns the requested topic too with an error. (See health.go)
  • Switch package to v5 due to aforementioned breaking change

How to review

Mostly package name changes, check code makes sense and tests pass.

Who can review

Anyone but me

@jessjenkins jessjenkins requested review from a team as code owners January 2, 2026 16:58
Copy link
Contributor

@cookel2 cookel2 left a comment

Choose a reason for hiding this comment

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

just one very small comment

@cookel2 cookel2 self-requested a review January 6, 2026 13:18
cookel2
cookel2 previously approved these changes Jan 6, 2026
Copy link
Contributor

@cookel2 cookel2 left a comment

Choose a reason for hiding this comment

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

LGTM

@jessjenkins jessjenkins merged commit 3215cd5 into main Jan 6, 2026
7 checks passed
@jessjenkins jessjenkins deleted the feature/upgrade-sarama branch January 6, 2026 15:39
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