Class AbstractKafkaApplicationEvent<T>

java.lang.Object
java.util.EventObject
io.micronaut.context.event.ApplicationEvent
io.micronaut.configuration.kafka.event.AbstractKafkaApplicationEvent<T>
Type Parameters:
T - the ApplicationEvent source object type
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AbstractKafkaStreamsEvent, KafkaConsumerStartedPollingEvent, KafkaConsumerSubscribedEvent

public class AbstractKafkaApplicationEvent<T> extends io.micronaut.context.event.ApplicationEvent
Abstract base class for all kafka application events.
Since:
5.1.0
Author:
Jorge F. Sanchez
See Also:
  • Constructor Details

    • AbstractKafkaApplicationEvent

      public AbstractKafkaApplicationEvent(T source)
      Constructs a prototypical Event.
      Parameters:
      source - The object on which the Event initially occurred.
      Throws:
      IllegalArgumentException - if source is null.
  • Method Details