'Determine latest/end/max offset for all partitions of a topic

Via the Processor API only the current offset and partition can be retrieved, but I haven't found a way to determine the latest/end/max offset for all partitions of a topic. Is there a way to do this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source