suspend fun <K, V> KafkaConsumer<K, V>.pauseAwait(topicPartition: TopicPartition): Unit
Suspend fetching from the requested partition.
topicPartition - topic partition from which suspend fetching
completionHandler - handler called on operation completed
Returncurrent
KafkaConsumer instance *
suspend fun <K, V> KafkaConsumer<K, V>.pauseAwait(topicPartitions: Set<TopicPartition>): Unit
Suspend fetching from the requested partitions.
topicPartitions - topic partition from which suspend fetching
completionHandler - handler called on operation completed
Returncurrent
KafkaConsumer instance *