Package org.springframework.kafka.core
Interface KafkaOperations.ProducerCallback<K,V,T>
-
- Type Parameters:
K
- the key type.V
- the value type.T
- the return type.
- Enclosing interface:
- KafkaOperations<K,V>
public static interface KafkaOperations.ProducerCallback<K,V,T>
A callback for executing arbitrary operations on theProducer
.- Since:
- 1.3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
doInKafka(org.apache.kafka.clients.producer.Producer<K,V> producer)
-