Uses of Enum Class
org.springframework.kafka.event.ConsumerStoppedEvent.Reason
Package
Description
Application Events.
Package for kafka listeners
-
Uses of ConsumerStoppedEvent.Reason in org.springframework.kafka.event
Modifier and TypeMethodDescriptionConcurrentContainerStoppedEvent.getReason()
Return the reason why the container was stopped.ConsumerStoppedEvent.getReason()
Return the reason why the consumer was stopped.static ConsumerStoppedEvent.Reason
Returns the enum constant of this class with the specified name.static ConsumerStoppedEvent.Reason[]
ConsumerStoppedEvent.Reason.values()
Returns an array containing the constants of this enum class, in the order they are declared.ModifierConstructorDescriptionConcurrentContainerStoppedEvent
(Object source, ConsumerStoppedEvent.Reason reason) Construct an instance with the provided source and container.ConsumerStoppedEvent
(Object source, Object container, ConsumerStoppedEvent.Reason reason) Construct an instance with the provided source and container. -
Uses of ConsumerStoppedEvent.Reason in org.springframework.kafka.listener
Modifier and TypeMethodDescriptionvoid
ConcurrentMessageListenerContainer.childStopped
(MessageListenerContainer child, ConsumerStoppedEvent.Reason reason) void
KafkaMessageListenerContainer.childStopped
(MessageListenerContainer child, ConsumerStoppedEvent.Reason reason) default void
MessageListenerContainer.childStopped
(MessageListenerContainer child, ConsumerStoppedEvent.Reason reason) Notify a parent container that a child container has stopped.