Package org.springframework.kafka.event
Class ConsumerPartitionResumedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.kafka.event.KafkaEvent
org.springframework.kafka.event.ConsumerPartitionResumedEvent
- All Implemented Interfaces:
Serializable
An event published when a consumer partition is resumed.
- Since:
- 2.7
- Author:
- Tomaz Fernandes
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionConsumerPartitionResumedEvent
(Object source, Object container, org.apache.kafka.common.TopicPartition partition) Construct an instance with the provided source and partition. -
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
-
ConsumerPartitionResumedEvent
public ConsumerPartitionResumedEvent(Object source, Object container, org.apache.kafka.common.TopicPartition partition) Construct an instance with the provided source and partition.- Parameters:
source
- the container instance that generated the event.container
- the container or the parent container if the container is a child.partition
- the partition.- Since:
- 2.7
-
-
Method Details
-
getPartition
public org.apache.kafka.common.TopicPartition getPartition() -
toString
- Overrides:
toString
in classEventObject
-