K
- the key type.V
- the value type.public class ChainedKafkaTransactionManager<K,V> extends org.springframework.data.transaction.ChainedTransactionManager implements KafkaAwareTransactionManager<K,V>
ChainedTransactionManager
that has exactly one
KafkaAwareTransactionManager
in the chain.Constructor and Description |
---|
ChainedKafkaTransactionManager(org.springframework.transaction.PlatformTransactionManager... transactionManagers) |
Modifier and Type | Method and Description |
---|---|
ProducerFactory<K,V> |
getProducerFactory()
Get the producer factory.
|
java.lang.Object |
getResourceFactory()
Deprecated.
- in a future release
KafkaAwareTransactionManager will not be
a sub interface of
ResourceTransactionManager .
TODO: Remove in 3.0 |
commit, getTransaction, rollback
public ChainedKafkaTransactionManager(org.springframework.transaction.PlatformTransactionManager... transactionManagers)
public ProducerFactory<K,V> getProducerFactory()
KafkaAwareTransactionManager
getProducerFactory
in interface KafkaAwareTransactionManager<K,V>
@Deprecated public java.lang.Object getResourceFactory()
KafkaAwareTransactionManager
will not be
a sub interface of
ResourceTransactionManager
.
TODO: Remove in 3.0getResourceFactory
in interface org.springframework.transaction.support.ResourceTransactionManager