vertx / io.vertx.kotlin.kafka.client.consumer / io.vertx.kafka.client.consumer.KafkaConsumer / offsetsForTimesAwait

# offsetsForTimesAwait

`suspend fun <K, V> KafkaConsumer<K, V>.offsetsForTimesAwait(topicPartition: TopicPartition, timestamp: Long): OffsetAndTimestamp`

Suspending version of method io.vertx.kafka.client.consumer.KafkaConsumer.offsetsForTimes

### Parameters

`topicPartition` - TopicPartition to query.

`timestamp` - Timestamp to be used in the query.

Return

OffsetAndTimestamp

NOTE: This function has been automatically generated from io.vertx.kafka.client.consumer.KafkaConsumer using Vert.x codegen.