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>
,org.springframework.transaction.PlatformTransactionManager
,org.springframework.transaction.TransactionManager
@Deprecated public class ChainedKafkaTransactionManager<K,V> extends org.springframework.data.transaction.ChainedTransactionManager implements KafkaAwareTransactionManager<K,V>
Deprecated.Refer to theChainedTransactionManager
javadocs.AChainedTransactionManager
that has exactly oneKafkaAwareTransactionManager
in the chain.- Since:
- 2.1.3
- Author:
- Gary Russell
-
-
Constructor Summary
Constructors Constructor Description ChainedKafkaTransactionManager(org.springframework.transaction.PlatformTransactionManager... transactionManagers)
Deprecated.Construct an instance with the providedPlatformTransactionManager
s.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ProducerFactory<K,V>
getProducerFactory()
Deprecated.Get the producer factory.-
Methods inherited from class org.springframework.data.transaction.ChainedTransactionManager
commit, getTransaction, rollback
-
-
-
-
Constructor Detail
-
ChainedKafkaTransactionManager
public ChainedKafkaTransactionManager(org.springframework.transaction.PlatformTransactionManager... transactionManagers)
Deprecated.Construct an instance with the providedPlatformTransactionManager
s.- Parameters:
transactionManagers
- the transaction managers.
-
-
Method Detail
-
getProducerFactory
public ProducerFactory<K,V> getProducerFactory()
Deprecated.Description copied from interface:KafkaAwareTransactionManager
Get the producer factory.- Specified by:
getProducerFactory
in interfaceKafkaAwareTransactionManager<K,V>
- Returns:
- the producerFactory
-
-