suspend fun <K, V> KafkaConsumer<K, V>.beginningOffsetsAwait(topicPartition: TopicPartition): Long
Get the first offset for the given partitions.
topicPartition
- the partition to get the earliest offset.
handler
- handler called on operation completed. Returns the earliest available offset for the given partition