View definition


Defined in


NextOffset returns the next offset that should be consumed for the managed partition, accompanied by metadata which can be used to reconstruct the state of the partition consumer when it resumes. NextOffset() will return `config.Consumer.Offsets.Initial` and an empty metadata string if no offset was committed for this partition yet.

NextOffset is referenced in 2 repositories