bsm / sarama-cluster

Cluster extensions for Sarama, the Go client library for Apache Kafka 0.9 [DEPRECATED]
MIT License
1.01k stars 222 forks source link

Not able to Read the messages from the reset offset for the partition #299

Closed continuum-dipanjan-mazumder closed 5 years ago

continuum-dipanjan-mazumder commented 5 years ago

I have implemented application checkpointing mechanism , in which the consumer before consuming messages from the partition , check the offset from where it needs to start reading from and then ResetPartitionOffset is called to set the offset to the required one. But after doing that it is not able to start reading immediately from that offset.If this is not possible what is the point of having the function.

Or is it that there is some way to do that with the library.

dim commented 5 years ago

please note https://github.com/bsm/sarama-cluster#deprecation-notice