Package org.springframework.kafka.core
@NonNullApi
package org.springframework.kafka.core
Package for kafka core components
-
ClassDescriptionA
Supplierfor bootstrap servers that can toggle between 2 lists of servers.Specifies time ofKafkaStreams.cleanUp()execution.ConsumerFactory<K,V> The strategy to produce aConsumerinstance.Called whenever a consumer is added or removed.Called by consumer factories to perform post processing on newly created consumers.TheConsumerFactoryimplementation to produce newConsumerinstances for providedMapconfigsand optionalDeserializers on eachConsumerFactory.createConsumer()invocation.A wrapper class for the delegate.TheTransactionIdSuffixStrategyimplementation for managing transactional producer suffixes.An admin that delegates to anAdminClientto create topics defined in the application context.Wrapper for a collection ofNewTopicto facilitate declaring multiple topics as a single bean.Provides a number of convenience methods wrappingAdminClient.KafkaOperations<K,V> The basic Kafka operations contract returningCompletableFutures.A callback for executing arbitrary operations on theKafkaOperations.A callback for executing arbitrary operations on theProducer.Exceptions when producing.Base class for consumer/producer/admin creators.KafkaResourceHolder<K,V> Kafka resource holder, wrapping a Kafka producer.KafkaTemplate<K,V> A template for executing high-level operations.A consumer factory listener that managesKafkaClientMetrics.A producer factory listener that managesKafkaClientMetrics.Exception when no producer is available.ProducerFactory<K,V> The strategy to produce aProducerinstance(s).Called whenever a producer is added or removed.Helper class for managing a Spring based KafkaDefaultKafkaProducerFactoryin particular for obtaining transactional Kafka resources for a given ProducerFactory.Called by producer factories to perform post processing on newly created producers.AKafkaTemplatethat routes messages based on the topic name.The strategy for managing transactional producer suffixes.