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

Expose missing protocol parts #1049

Merged
merged 2 commits into from
Feb 13, 2018
Merged

Expose missing protocol parts #1049

merged 2 commits into from
Feb 13, 2018

Conversation

horkhe
Copy link
Contributor

@horkhe horkhe commented Feb 13, 2018

Kafka protocol implementation is public in Sarama and so it can be used in alternative producer/consumer implementations e.g. mailgun/kafka-pixy. But when Records union was introduced its fields msgSet and recordBatch were introduced as private for some reason, and that makes it impossible for protocol users to upgrade to the latest Sarama version. So in this PR I suggest to make those fields public to rectify this deficiency.

Besides OffsetCommitRequest.Offset method was introduced to allow inspecting the request offsets in test. It is not actually used in Sarama but can be useful.

@horkhe horkhe changed the title Maxim/develop Expose missing protocol parts Feb 13, 2018
@eapache eapache merged commit 6ba8cbd into IBM:master Feb 13, 2018
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