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 toProducerInterceptors. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidvoidonAcknowledgement(org.apache.kafka.clients.producer.RecordMetadata metadata, Exception exception)
-
Constructor Details
-
CompositeProducerInterceptor
@SafeVarargs public CompositeProducerInterceptor(org.apache.kafka.clients.producer.ProducerInterceptor<K, V>... delegates) Construct an instance with the provided delegates toProducerInterceptors.- Parameters:
delegates- the delegates.
-
-
Method Details
-
onSend
-
onAcknowledgement
-
close
-
configure
-