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:
java.io.Serializable
public class ConsumerStartingEvent extends KafkaEvent
An event published when a consumer is initializing.- Since:
- 2.3
- Author:
- Gary Russell
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConsumerStartingEvent(java.lang.Object source, java.lang.Object container)
Construct an instance with the provided source and container.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
Methods inherited from class org.springframework.kafka.event.KafkaEvent
getContainer, getSource
-
-
-
-
Constructor Detail
-
ConsumerStartingEvent
public ConsumerStartingEvent(java.lang.Object source, java.lang.Object container)
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.
-
-