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

Process consumed partitions asynchronously #398

Closed
wants to merge 1 commit into from
Closed

Conversation

eapache
Copy link
Contributor

@eapache eapache commented Mar 26, 2015

Rather than inline with the brokerConsumer's goroutine, dispatch them out to the
partitionConsumer's goroutine so that slow partitions don't block the others (as
much).

Also included: split out a newBrokerConsumer function.

Fixes #325

@Shopify/kafka careful 👀 on this please

Rather than inline with the brokerConsumer's goroutine, dispatch them out to the
partitionConsumer's goroutine so that slow partitions don't block the others (as
much).

Also included: split out a `newBrokerConsumer` function.
@eapache
Copy link
Contributor Author

eapache commented Apr 28, 2015

This needs revisiting, rebasing and possibly splitting apart into several PRs.

@eapache eapache closed this Apr 28, 2015
@eapache eapache deleted the consumer-unblock branch April 28, 2015 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PartitionConsumer.Close() hangs frequently
2 participants