-
Notifications
You must be signed in to change notification settings - Fork 627
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Consumer init offset end #388
Comments
Take a look at #342. We recently merged code that can get you the latest offset. It should be in the next release. |
When the next release should be? |
@itayB I hope to publish it by the end of this week. |
@hyperlink perfect! Can't wait to get it ;-) Thanks |
v0.4.0 has been published with the method to get latest offset. |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
I'm using kafka-node to consume messages from a specific Kafka topic. When I restart my node server, it init my consumer as expected, but it's default behavior is to start consume from offset 0 while my goal is to receive only new messages (aka start consume from current offset). I didn't find a way to achieve that from the API documentation. Anyone knows if its supported?
Thanks!
http://stackoverflow.com/questions/37949759/kafka-node-start-consume-from-last-offset
The text was updated successfully, but these errors were encountered: