-
Notifications
You must be signed in to change notification settings - Fork 627
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
How to set consumer option "auto.offset.reset" ? #342
Comments
You can set fromOffset true and give the offset you wish to consume in payload, example:
|
Thanks haio, but it doesn't match my needs. |
This feature is not supported at the moment. |
I'll have a PR coming for picking up from the latest offset. |
@CharlesWall any option like auto.offset.reset=latest , sometime soon for 0.8.* version of kafka for node client. |
@shubSK I wouldn't hold my breath waiting for that. |
I haven't looked at any of this stuff since May. I learned how this module worked to write the fix I needed. @shubSK You should consider doing the same. |
The solution is to use |
I'd like to consume from latest message when I don't have committed offset (ex: new consumer group).
At v0.3.2, HighLevelConsumer consumes from oldest message, but it isn't expected.
The text was updated successfully, but these errors were encountered: