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

# seekToEndAwait

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

Seek to the last offset for each of the given partition.

### Parameters

`topicPartition` - topic partition for which seek

`completionHandler` - handler called on operation completed

Returncurrent
KafkaConsumer instance *

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

Seek to the last offset for each of the given partitions.

### Parameters

`topicPartitions` - topic partition for which seek

`completionHandler` - handler called on operation completed

Returncurrent
KafkaConsumer instance *