Skip to main content
Version: 3.x

IMessageConsumer.Pause method

Pause consumption for the provided list of partitions.

public void Pause(IReadOnlyCollection<TopicPartition> partitions)
parameterdescription
partitionsThe partitions to pause consumption of.

Exceptions

exceptioncondition
KafkaExceptionThrown if the request failed.
TopicPartitionExceptionPer partition success or error.

See Also