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 setting api versions for consumer groups #367

Merged
merged 5 commits into from
Oct 1, 2019

Conversation

dantswain
Copy link
Collaborator

@dantswain dantswain commented Sep 23, 2019

With kafka_version: "kayrock", using ConsumerGroup.start_link(...... api_versions: %{fetch: 3, offset_fetch: 3, offset_commit: 3}) will

  • Use the modern record batch message format (including timestamps)
  • Store offsets in zookeeper

Note I intentionally did not make this configurable globally because I think that's probably not a good idea for users. These settings should be considered on a consumer group basis.

I also snuck in a couple fixes for flakey tests.

Was matching `{:ok, [_metadata]}` but if there are no known topics yet,
the list will be empty.  So just match `{:ok, _metadata}`
Copy link
Member

@joshuawscott joshuawscott left a comment

Choose a reason for hiding this comment

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

:shipit:

@dantswain dantswain merged commit 39cc974 into master Oct 1, 2019
@dantswain dantswain deleted the api_versions_in_consumer_groups branch October 1, 2019 22:56
@joshuawscott joshuawscott mentioned this pull request Jul 14, 2020
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