suspend fun <K, V> KafkaConsumer<K, V>.committedAwait(topicPartition: TopicPartition): OffsetAndMetadata
Get the last committed offset for the given partition (whether the commit happened by this process or another).
topicPartition
- topic partition for getting last committed offset