Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ccl/changefeedccl: set sarama to use kafka version 1.0 and later #64970

Closed
wants to merge 1 commit into from

Conversation

rkruze
Copy link

@rkruze rkruze commented May 11, 2021

Previously the Kafka sink didn't specify a version to sarama, so it
defaulted to the minimum version of 0.8.2. This behavior has been
changed in the latest version of sarama to use version 1.0 of the
Kafka API. Information on why this change was made by sarama can be
found here:
IBM/sarama#1787

Resolves #64842

Release note (enterprise change): Set the Kafka CDC sink to use the 1.0
version of the Kafka API.

Previously the Kafka sink didn't specify a version to sarama, so it
defaulted to the minimum version of 0.8.2. This behavior has been
changed in the latest version of sarama to use version 1.0 of the
Kafka API. Information on why this change was made by sarama can be
found here:
IBM/sarama#1787

Resolves cockroachdb#64842

Release note (enterprise change): Set the Kafka CDC sink to use the 1.0
version of the Kafka API.
@rkruze rkruze requested review from a team and adityamaru and removed request for a team May 11, 2021 01:27
@blathers-crl
Copy link

blathers-crl bot commented May 11, 2021

Thank you for contributing to CockroachDB. Please ensure you have followed the guidelines for creating a PR.

My owl senses detect your PR is good for review. Please keep an eye out for any test failures in CI.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan.

@blathers-crl blathers-crl bot added the O-community Originated from the community label May 11, 2021
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@stevendanna
Copy link
Collaborator

@rkruze Thanks again for submitting this fix!

Just as a heads up, one alternative/addition we are considering is something that allows users to set the version if they happen to be using a very old Kafka still (#65389).

@stevendanna
Copy link
Collaborator

Thanks again for the contribution and the help investigating the root cause! We merged a fix to 20.2 that makes the Kafka version configurable to handle this, so I think we are OK not bumping the default for now.

@stevendanna stevendanna closed this Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-community Originated from the community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants