Class ChainedKafkaTransactionManager<K,V>
java.lang.Object
org.springframework.data.transaction.ChainedTransactionManager
org.springframework.kafka.transaction.ChainedKafkaTransactionManager<K,V>
- Type Parameters:
K- the key type.V- the value type.
- All Implemented Interfaces:
KafkaAwareTransactionManager<K,,V> PlatformTransactionManager,TransactionManager
@Deprecated
public class ChainedKafkaTransactionManager<K,V>
extends org.springframework.data.transaction.ChainedTransactionManager
implements KafkaAwareTransactionManager<K,V>
Deprecated.
A
ChainedTransactionManager that has
exactly one KafkaAwareTransactionManager in the chain.- Since:
- 2.1.3
- Author:
- Gary Russell
-
Constructor Summary
ConstructorsConstructorDescriptionChainedKafkaTransactionManager(PlatformTransactionManager... transactionManagers) Deprecated.Construct an instance with the providedPlatformTransactionManagers. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Get the producer factory.Methods inherited from class org.springframework.data.transaction.ChainedTransactionManager
commit, getTransaction, rollbackMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.transaction.PlatformTransactionManager
commit, getTransaction, rollback
-
Constructor Details
-
ChainedKafkaTransactionManager
Deprecated.Construct an instance with the providedPlatformTransactionManagers.- Parameters:
transactionManagers- the transaction managers.
-
-
Method Details
-
getProducerFactory
Deprecated.Description copied from interface:KafkaAwareTransactionManagerGet the producer factory.- Specified by:
getProducerFactoryin interfaceKafkaAwareTransactionManager<K,V> - Returns:
- the producerFactory
-
ChainedTransactionManagerjavadocs.