Package org.springframework.kafka.event
Class ConsumerResumedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.kafka.event.KafkaEvent
org.springframework.kafka.event.ConsumerResumedEvent
- All Implemented Interfaces:
Serializable
An event published when a consumer is resumed.
- Since:
- 2.1.5
- Author:
- Gary Russell
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionConsumerResumedEvent
(Object source, Object container, Collection<org.apache.kafka.common.TopicPartition> partitions) Construct an instance with the provided source and partitions. -
Method Summary
Methods inherited from class org.springframework.kafka.event.KafkaEvent
getContainer, getSource
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
ConsumerResumedEvent
public ConsumerResumedEvent(Object source, Object container, Collection<org.apache.kafka.common.TopicPartition> partitions) Construct an instance with the provided source and partitions.- Parameters:
source
- the container instance that generated the event.container
- the container or the parent container if the container is a child.partitions
- the partitions.- Since:
- 2.2.1
-
-
Method Details
-
getPartitions
-
toString
- Overrides:
toString
in classEventObject
-