-
Notifications
You must be signed in to change notification settings - Fork 93
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
Concurrency for consumers #146
Comments
Concurrency is achieved by adding more consumer processes to the consumer group. There's currently no support for in-process concurrency (using e.g. threads), which is tricky because of the way Kafka checkpointing ("offset commits") work. |
Performance is great. But note that Kafka consumers are message processors, not job runners – this means that data flows in a pipeline rather than being scheduled potentially out-of-order. I would not use Kafka for a job queue. |
@dasch Would Even though it makes sense to use separate processes, the startup and memory costs associated with spawning separate processes is higher in Ruby implementations like I agree that this does not add value for C-Ruby applications with significant kafka throughputs but do you see value in supporting use-cases like JRuby? |
We are trying to replace some of the Sidekiq use cases with Kafka and came across this gem, and it looks great given its similarity to Sidekiq for consuming messages.
The question I have is -
Thanks.
The text was updated successfully, but these errors were encountered: