vertx / io.vertx.reactivex.kafka.client.consumer / KafkaConsumer / rxPause

# rxPause

`open fun rxPause(topicPartition: TopicPartition): Completable`

Suspend fetching from the requested partition.

Due to internal buffering of messages, the will continue to observe messages from the given `topicParation` until some time after the given `completionHandler` is called. In contrast, the once the given `completionHandler` is called the `io.vertx.reactivex.kafka.client.consumer.KafkaConsumer#batchHandler` will not see messages from the given `topicParation`.

### Parameters

`topicPartition` - topic partition from which suspend fetching

Return

`open fun rxPause(topicPartitions: MutableSet<TopicPartition>): Completable`

Suspend fetching from the requested partitions.

Due to internal buffering of messages, the will continue to observe messages from the given `topicParations` until some time after the given `completionHandler` is called. In contrast, the once the given `completionHandler` is called the `io.vertx.reactivex.kafka.client.consumer.KafkaConsumer#batchHandler` will not see messages from the given `topicParations`.

### Parameters

`topicPartitions` - topic partition from which suspend fetching

Return