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