Class CompositeProducerInterceptor<K,V>
java.lang.Object
org.springframework.kafka.support.CompositeProducerInterceptor<K,V>
- Type Parameters:
K
- the key type.V
- the value type.
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.kafka.clients.producer.ProducerInterceptor<K,
,V> org.apache.kafka.common.Configurable
-
Constructor Summary
ConstructorsConstructorDescriptionCompositeProducerInterceptor
(org.apache.kafka.clients.producer.ProducerInterceptor<K, V>... delegates) Construct an instance with the provided delegates toProducerInterceptor
s. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
void
onAcknowledgement
(org.apache.kafka.clients.producer.RecordMetadata metadata, Exception exception) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.kafka.clients.producer.ProducerInterceptor
onAcknowledgement
-
Constructor Details
-
CompositeProducerInterceptor
@SafeVarargs public CompositeProducerInterceptor(org.apache.kafka.clients.producer.ProducerInterceptor<K, V>... delegates) Construct an instance with the provided delegates toProducerInterceptor
s.- Parameters:
delegates
- the delegates.
-
-
Method Details
-
onSend
-
onAcknowledgement
-
close
-
configure
-