Class KafkaConsumerSubscribedEvent

java.lang.Object
java.util.EventObject
io.micronaut.context.event.ApplicationEvent
io.micronaut.configuration.kafka.event.AbstractKafkaApplicationEvent<Consumer>
io.micronaut.configuration.kafka.event.KafkaConsumerSubscribedEvent
All Implemented Interfaces:
Serializable

public final class KafkaConsumerSubscribedEvent extends AbstractKafkaApplicationEvent<Consumer>
An event fired after a Kafka Consumer subscribes to a set of Kafka topics.
Since:
5.1.0
Author:
Jorge F. Sanchez
See Also:
  • Constructor Details

    • KafkaConsumerSubscribedEvent

      public KafkaConsumerSubscribedEvent(Consumer consumer)
      Constructs an event with a given Consumer source.
      Parameters:
      consumer - The Consumer on which the Event initially occurred.
      Throws:
      IllegalArgumentException - if source is null.