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

Implement topic claim #14

Merged
merged 1 commit into from
Dec 4, 2015
Merged

Implement topic claim #14

merged 1 commit into from
Dec 4, 2015

Conversation

zorkian
Copy link

@zorkian zorkian commented Dec 3, 2015

This adds a consumer option that instructs it to claim the entire topic.
This is useful in the sharded consumption design.

Fixes #2.

cc @DrTall @basharal

@DrTall
Copy link

DrTall commented Dec 3, 2015

Right, I thought the entire point of this was that the use case was all partitions of a topic need to go to a single consumer?

@basharal
Copy link

basharal commented Dec 3, 2015

LGTM for our purposes...thanks a ton folks for taking care of this...
P.S., someone (not us) might care about consuming partial topic partitions if they don't care about who owns what like we do, but they want to scale their consumers to O(topics * partitions/topic)...just a side note

This adds a consumer option that instructs it to claim the entire topic.
This is useful in the sharded consumption design.

Fixes #2.
@zorkian
Copy link
Author

zorkian commented Dec 4, 2015

Comment updated + made it an error to set both ClaimEntireTopic and MaximumClaims. PTAL.

@DrTall
Copy link

DrTall commented Dec 4, 2015

LGTM

zorkian added a commit that referenced this pull request Dec 4, 2015
@zorkian zorkian merged commit bcb8f94 into dropbox:master Dec 4, 2015
@zorkian zorkian deleted the topic-claim branch December 4, 2015 19:08
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.

3 participants