public static interface SenderOptions.ProducerListener
Modifier and Type | Method and Description |
---|---|
default void |
producerAdded(String id,
org.apache.kafka.clients.producer.Producer<?,?> producer)
A new producer was created.
|
default void |
producerRemoved(String id,
org.apache.kafka.clients.producer.Producer<?,?> producer)
An existing producer was removed.
|
default void producerAdded(String id, org.apache.kafka.clients.producer.Producer<?,?> producer)
id
- the producer id (factory bean name and client.id separated by a
period).producer
- the producer.default void producerRemoved(String id, org.apache.kafka.clients.producer.Producer<?,?> producer)
id
- the producer id (factory bean name and client.id separated by a period).producer
- the producer.