vertx / io.vertx.kafka.client.consumer / KafkaConsumer / resume

resume

abstract fun resume(): KafkaConsumer<K, V> abstract fun resume(topicPartition: TopicPartition): KafkaConsumer<K, V>

Resume specified partition which have been paused with pause.

Parameters

topicPartition - topic partition from which resume fetching

Return
current KafkaConsumer instance

abstract fun resume(topicPartitions: MutableSet<TopicPartition>): KafkaConsumer<K, V>

Resume specified partitions which have been paused with pause.

Parameters

topicPartitions - topic partition from which resume fetching

Return
current KafkaConsumer instance

abstract fun resume(topicPartition: TopicPartition, completionHandler: Handler<AsyncResult<Void>>): KafkaConsumer<K, V>

Resume specified partition which have been paused with pause.

Parameters

topicPartition - topic partition from which resume fetching

completionHandler - handler called on operation completed

Return
current KafkaConsumer instance

abstract fun resume(topicPartitions: MutableSet<TopicPartition>, completionHandler: Handler<AsyncResult<Void>>): KafkaConsumer<K, V>

Resume specified partitions which have been paused with pause.

Parameters

topicPartitions - topic partition from which resume fetching

completionHandler - handler called on operation completed

Return
current KafkaConsumer instance