twmb / franz-go

franz-go contains a feature complete, pure Go library for interacting with Kafka from 0.8.0 through 3.6+. Producing, consuming, transacting, administrating, etc.
BSD 3-Clause "New" or "Revised" License
1.61k stars 158 forks source link

Getting the max offset #717

Closed hugokitano closed 2 months ago

hugokitano commented 2 months ago

What's the appropriate way to get the max offset for a topic/partition combination? Can't seem to find it in the kgo.Client module.