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

# pollAwait

`suspend fun <K, V> KafkaConsumer<K, V>.pollAwait(timeout: Duration): KafkaConsumerRecords<K, V>`

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

### Parameters

`timeout` - The maximum time to block (must not be greater than java.lang.Long milliseconds)

Return

KafkaConsumerRecordsK,V

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