Package org.springframework.kafka.event
Class ConsumerStartedEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- org.springframework.kafka.event.KafkaEvent
-
- org.springframework.kafka.event.ConsumerStartedEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class ConsumerStartedEvent extends KafkaEvent
An event published when a consumer has started.- Since:
- 2.3
- Author:
- Gary Russell
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConsumerStartedEvent(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
-
ConsumerStartedEvent
public ConsumerStartedEvent(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.
-
-