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

# subscribeAwait

`suspend fun <K, V> KafkaConsumer<K, V>.subscribeAwait(topic: String): Unit`

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

### Parameters

`topic` -

topic to subscribe to

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

`suspend fun <K, V> KafkaConsumer<K, V>.subscribeAwait(topics: Set<String>): Unit`

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

### Parameters

`topics` -

topics to subscribe to

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