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
An event fired after a Kafka
Consumer
subscribes to a set of Kafka topics.- Since:
- 5.1.0
- Author:
- Jorge F. Sanchez
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionKafkaConsumerSubscribedEvent
(Consumer consumer) Constructs an event with a given Consumer source. -
Method Summary
Methods inherited from class io.micronaut.configuration.kafka.event.AbstractKafkaApplicationEvent
getSource
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
KafkaConsumerSubscribedEvent
Constructs an event with a given Consumer source.- Parameters:
consumer
- The Consumer on which the Event initially occurred.- Throws:
IllegalArgumentException
- if source is null.
-