Package org.springframework.kafka.event
Class ConsumerStartingEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.kafka.event.KafkaEvent
org.springframework.kafka.event.ConsumerStartingEvent
- All Implemented Interfaces:
Serializable
An event published when a consumer is initializing.
- Since:
- 2.3
- Author:
- Gary Russell
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionConsumerStartingEvent
(Object source, Object container) Construct an instance with the provided source and container. -
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
-
ConsumerStartingEvent
Construct an instance with the provided source and container.- Parameters:
source
- the container instance that generated the event.container
- the container or the parent container if the container is a child.
-
-
Method Details
-
toString
- Overrides:
toString
in classEventObject
-