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. Currently a sub-interface of ResourceTransactionManager for backwards compatibility.
    Since:
    2.1.3
    Author:
    Gary Russell
    • Method Detail

      • getProducerFactory

        ProducerFactory<K,​V> getProducerFactory()
        Get the producer factory.
        Returns:
        the producerFactory