Class ConsumerRetryAuthEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.kafka.event.KafkaEvent
org.springframework.kafka.event.ConsumerRetryAuthEvent
All Implemented Interfaces:
Serializable

public class ConsumerRetryAuthEvent extends KafkaEvent
An event published when authentication or authorization of a consumer fails and is being retried. Contains the reason for this event.
Since:
3.0
See Also:
  • Constructor Details

    • ConsumerRetryAuthEvent

      public ConsumerRetryAuthEvent(Object source, Object container, ConsumerRetryAuthEvent.Reason reason)
      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.
      reason - the reason.
  • Method Details