Uses of Interface
org.springframework.kafka.core.ProducerFactory.Listener
-
Uses of ProducerFactory.Listener in org.springframework.kafka.core
Modifier and TypeClassDescriptionclass
A producer factory listener that managesKafkaClientMetrics
.Modifier and TypeMethodDescriptionDefaultKafkaProducerFactory.getListeners()
Get the current list of listeners.default List<ProducerFactory.Listener<K,
V>> ProducerFactory.getListeners()
Get the current list of listeners.Modifier and TypeMethodDescriptionvoid
DefaultKafkaProducerFactory.addListener
(int index, ProducerFactory.Listener<K, V> listener) Add a listener at a specific index.void
DefaultKafkaProducerFactory.addListener
(ProducerFactory.Listener<K, V> listener) Add a listener.default void
ProducerFactory.addListener
(int index, ProducerFactory.Listener<K, V> listener) Add a listener at a specific index.default void
ProducerFactory.addListener
(ProducerFactory.Listener<K, V> listener) Add a listener.boolean
DefaultKafkaProducerFactory.removeListener
(ProducerFactory.Listener<K, V> listener) Remove a listener.default boolean
ProducerFactory.removeListener
(ProducerFactory.Listener<K, V> listener) Remove a listener.