-
Notifications
You must be signed in to change notification settings - Fork 77
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
Offset management #65
Comments
It's definitely interesting, although I'd probably lean to this being an Having said that, I'm not overly familiar with the development but I think Again, I'd probably err on the side of, as far as possible, letting people What do you think? Would you be up for developing a clj-kafka equivalent to On Tue, Sep 15, 2015 at 8:51 PM, Andy Chambers [email protected]
|
D'oh. I've just realised your suggestion uses the API I found :) Haha. Yep, definitely up for adding support. I'll see if I can get some time this week to have a look, of course pull requests are always still welcome!! |
Cool! I think we will need this either way so if you don't get to it, we'll get to it soon enough. Just wanted to check before digging in. Thanks for this library. It's been working great for us so far. |
Hey @pingles. Just letting you know, I probably wont get to this any time soon as my company appears to be leaning towards using samza which handles this stuff itself. |
This looks like it was done in open PR #64 |
Thanks for the reminder- we'll try and take a look this week for merging it in. Apologies for the delay, been busy with some other unrelated stuff at work. |
Hey folks,
What are your thoughts about the new method of managing offsets in kafka. There's some documentation (in the form of example code) here...
https://cwiki.apache.org/confluence/display/KAFKA/Committing+and+fetching+consumer+offsets+in+Kafka
The TLDR is that there's a quite a bit of overhead to maintaining the offset in zookeeper so there's another approach which involves writing to a topic, and keeping an in-memory cache of the current offset so that consumers with high throughput, or lots of consumers groups (or both) can still commit after processing each message rather than trying to limit the frequency of commits. Would you like clj-kafka to provide something like this?
The text was updated successfully, but these errors were encountered: