public static interface ReceiverOptions.ConsumerListener
Modifier and Type | Method and Description |
---|---|
default void |
consumerAdded(String id,
org.apache.kafka.clients.consumer.Consumer<?,?> consumer)
A new consumer was created.
|
default void |
consumerRemoved(String id,
org.apache.kafka.clients.consumer.Consumer<?,?> consumer)
An existing consumer was removed.
|
default void consumerAdded(String id, org.apache.kafka.clients.consumer.Consumer<?,?> consumer)
id
- the consumer id.consumer
- the consumer.default void consumerRemoved(String id, org.apache.kafka.clients.consumer.Consumer<?,?> consumer)
id
- the consumer id.consumer
- the consumer.