Uses of Class
org.springframework.kafka.core.KafkaTemplate
Packages that use KafkaTemplate
Package
Description
Package for kafka configuration
Package for kafka core components
Provides classes for adapting listeners.
Provides classes for request/reply semantics.
-
Uses of KafkaTemplate in org.springframework.kafka.config
Methods in org.springframework.kafka.config that return KafkaTemplateModifier and TypeMethodDescriptionprotected KafkaTemplate<?,?> AbstractKafkaListenerEndpoint.getReplyTemplate()Methods in org.springframework.kafka.config with parameters of type KafkaTemplateModifier and TypeMethodDescriptionvoidAbstractKafkaListenerContainerFactory.setReplyTemplate(KafkaTemplate<?, ?> replyTemplate) Set theKafkaTemplateto use to send replies.voidAbstractKafkaListenerEndpoint.setReplyTemplate(KafkaTemplate<?, ?> replyTemplate) Set theKafkaTemplateto use to send replies. -
Uses of KafkaTemplate in org.springframework.kafka.core
Subclasses of KafkaTemplate in org.springframework.kafka.coreModifier and TypeClassDescriptionclassAKafkaTemplatethat routes messages based on the topic name. -
Uses of KafkaTemplate in org.springframework.kafka.jdocs.started.noboot
Methods in org.springframework.kafka.jdocs.started.noboot that return KafkaTemplateModifier and TypeMethodDescriptionConfig.kafkaTemplate(ProducerFactory<Integer, String> producerFactory) Methods in org.springframework.kafka.jdocs.started.noboot with parameters of type KafkaTemplateConstructors in org.springframework.kafka.jdocs.started.noboot with parameters of type KafkaTemplate -
Uses of KafkaTemplate in org.springframework.kafka.jdocs.started.producer
Methods in org.springframework.kafka.jdocs.started.producer with parameters of type KafkaTemplateModifier and TypeMethodDescriptionorg.springframework.boot.ApplicationRunnerApplication.runner(KafkaTemplate<String, String> template) -
Uses of KafkaTemplate in org.springframework.kafka.listener.adapter
Methods in org.springframework.kafka.listener.adapter with parameters of type KafkaTemplateModifier and TypeMethodDescriptionvoidMessagingMessageListenerAdapter.setReplyTemplate(KafkaTemplate<?, ?> replyTemplate) Set the template to use to send any result from the method invocation. -
Uses of KafkaTemplate in org.springframework.kafka.requestreply
Subclasses of KafkaTemplate in org.springframework.kafka.requestreplyModifier and TypeClassDescriptionclassA replying template that aggregates multiple replies with the same correlation id.classReplyingKafkaTemplate<K,V, R> A KafkaTemplate that implements request/reply semantics.