@NonNullApi
Package org.springframework.kafka.core
Package for kafka core components
-
Interface Summary Interface Description ConsumerFactory<K,V> The strategy to produce aConsumerinstance(s).ConsumerFactory.Listener<K,V> Called whenever a consumer is added or removed.ConsumerPostProcessor<K,V> Called by consumer factories to perform post processing on newly created consumers.KafkaFailureCallback<K,V> An enhancedFailureCallbackfor reportingKafkaProducerExceptions.KafkaOperations<K,V> The basic Kafka operations contract returningListenableFutures.KafkaOperations.OperationsCallback<K,V,T> A callback for executing arbitrary operations on theKafkaOperations.KafkaOperations.ProducerCallback<K,V,T> A callback for executing arbitrary operations on theProducer.KafkaSendCallback<K,V> An enhancedListenableFutureCallbackfor reportingKafkaProducerExceptions.ProducerFactory<K,V> The strategy to produce aProducerinstance(s).ProducerFactory.Listener<K,V> Called whenever a producer is added or removed.ProducerPostProcessor<K,V> Called by producer factories to perform post processing on newly created producers. -
Class Summary Class Description ABSwitchCluster ASupplierfor bootstrap servers that can toggle between 2 lists of servers.CleanupConfig Specifies time ofKafkaStreams.cleanUp()execution.DefaultKafkaConsumerFactory<K,V> TheConsumerFactoryimplementation to produce newConsumerinstances for providedMapconfigsand optionalDeserializers on eachConsumerFactory.createConsumer()invocation.DefaultKafkaProducerFactory<K,V> DefaultKafkaProducerFactory.CloseSafeProducer<K,V> A wrapper class for the delegate.KafkaAdmin An admin that delegates to anAdminClientto create topics defined in the application context.KafkaResourceFactory 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.MicrometerConsumerListener<K,V> A consumer factory listener that managesKafkaClientMetrics.MicrometerProducerListener<K,V> A producer factory listener that managesKafkaClientMetrics.ProducerFactoryUtils Helper class for managing a Spring based KafkaDefaultKafkaProducerFactoryin particular for obtaining transactional Kafka resources for a given ProducerFactory.RoutingKafkaTemplate AKafkaTemplatethat routes messages based on the topic name. -
Exception Summary Exception Description KafkaProducerException Exceptions when producing.