public class ConsumerPausedEvent extends KafkaEvent
| Constructor and Description |
|---|
ConsumerPausedEvent(java.lang.Object source,
java.util.Collection<org.apache.kafka.common.TopicPartition> partitions)
Deprecated.
|
ConsumerPausedEvent(java.lang.Object source,
java.lang.Object container,
java.util.Collection<org.apache.kafka.common.TopicPartition> partitions)
Construct an instance with the provided source and partitions.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<org.apache.kafka.common.TopicPartition> |
getPartitions() |
java.lang.String |
toString() |
getContainer, getSource@Deprecated
public ConsumerPausedEvent(java.lang.Object source,
java.util.Collection<org.apache.kafka.common.TopicPartition> partitions)
source - the container.partitions - the partitions.public ConsumerPausedEvent(java.lang.Object source,
java.lang.Object container,
java.util.Collection<org.apache.kafka.common.TopicPartition> partitions)
source - the container instance that generated the event.container - the container or the parent container if the container is a child.partitions - the partitions.