Interface KafkaAwareTransactionManager<K,V>
- Type Parameters:
K
- the key type.V
- the value type.
- All Superinterfaces:
org.springframework.transaction.PlatformTransactionManager
,org.springframework.transaction.TransactionManager
- All Known Implementing Classes:
ChainedKafkaTransactionManager
,KafkaTransactionManager
public interface KafkaAwareTransactionManager<K,V>
extends org.springframework.transaction.PlatformTransactionManager
A transaction manager that can provide a
ProducerFactory
.- Since:
- 2.1.3
-
Method Summary
Modifier and TypeMethodDescriptionGet the producer factory.Methods inherited from interface org.springframework.transaction.PlatformTransactionManager
commit, getTransaction, rollback
-
Method Details
-
getProducerFactory
ProducerFactory<K,V> getProducerFactory()Get the producer factory.- Returns:
- the producerFactory
-