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

Support metadata request v6 #1013

Merged
merged 7 commits into from
Oct 26, 2022

Conversation

mtkopone
Copy link
Contributor

Add support for metadata requests with v6.

MSK Serverless fails with a EOF for all metadata requests with a version of less than 6.

This is one step towards fixing #967

@rhansen2 rhansen2 self-assigned this Oct 21, 2022
@rhansen2
Copy link
Collaborator

Hi @mtkopone,

Thanks for this contribution!

Something seems to have gone wrong with the CI run and I'm unable to re-run it.

Would you be able to push and empty commit to see if that gets it running properly, thanks!

@mtkopone mtkopone force-pushed the support-metadata-request-v6 branch from 1879b68 to 173c0f1 Compare October 22, 2022 07:51
@mtkopone
Copy link
Contributor Author

Tried pushing an empty commit (and also rebased to main), same problem. Apparently something is broken in circleci?

I'm assuming it's ok to send AllowAutoTopicCreation: true in metadata v6 request, since server auto.create.topics.enable controls this anyway.
…sponse. Maybe fixing TestDialer for old kafkas
@mtkopone
Copy link
Contributor Author

After a couple of small fixes and a couple of reruns of circleci, all checks are now passing.

conn.go Outdated Show resolved Hide resolved
conn.go Outdated Show resolved Hide resolved
Copy link
Collaborator

@rhansen2 rhansen2 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 for the contribution!

@rhansen2 rhansen2 merged commit eb07fa4 into segmentio:main Oct 26, 2022
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