vertx / io.vertx.kotlin.kafka.client.producer / io.vertx.kafka.client.producer.KafkaProducer / endAwait

# endAwait

`suspend fun <K, V> KafkaProducer<K, V>.endAwait(): Unit`

Suspending version of method io.vertx.kafka.client.producer.KafkaProducer.end

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

`suspend fun <K, V> KafkaProducer<K, V>.endAwait(data: KafkaProducerRecord<K, V>): Unit`

Suspending version of method io.vertx.kafka.client.producer.KafkaProducer.end

### Parameters

`data` - NOTE: This function has been automatically generated from io.vertx.kafka.client.producer.KafkaProducer using Vert.x codegen.