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

# pauseAwait

`suspend fun <K, V> KafkaConsumer<K, V>.pauseAwait(topicPartition: TopicPartition): Unit`

Suspend fetching from the requested partition.

### Parameters

`topicPartition` - topic partition from which suspend fetching

Return
current KafkaConsumer instance *

`suspend fun <K, V> KafkaConsumer<K, V>.pauseAwait(topicPartitions: Set<TopicPartition>): Unit`

Suspend fetching from the requested partitions.

### Parameters

`topicPartitions` - topic partition from which suspend fetching

Return
current KafkaConsumer instance *