Uses of Class
org.springframework.kafka.core.KafkaResourceHolder
-
Uses of KafkaResourceHolder in org.springframework.kafka.core
Modifier and TypeMethodDescriptionstatic <K,
V> KafkaResourceHolder<K, V> ProducerFactoryUtils.getTransactionalResourceHolder
(ProducerFactory<K, V> producerFactory) Obtain a Producer that is synchronized with the current transaction, if any.static <K,
V> KafkaResourceHolder<K, V> ProducerFactoryUtils.getTransactionalResourceHolder
(ProducerFactory<K, V> producerFactory, String txIdPrefix, Duration closeTimeout) Obtain a Producer that is synchronized with the current transaction, if any.static <K,
V> KafkaResourceHolder<K, V> ProducerFactoryUtils.getTransactionalResourceHolder
(ProducerFactory<K, V> producerFactory, Duration closeTimeout) Obtain a Producer that is synchronized with the current transaction, if any.Modifier and TypeMethodDescriptionstatic <K,
V> void ProducerFactoryUtils.releaseResources
(KafkaResourceHolder<K, V> resourceHolder)