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 TypeMethodDescriptionvoid
AbstractKafkaListenerContainerFactory.setReplyTemplate
(KafkaTemplate<?, ?> replyTemplate) Set theKafkaTemplate
to use to send replies.void
AbstractKafkaListenerEndpoint.setReplyTemplate
(KafkaTemplate<?, ?> replyTemplate) Set theKafkaTemplate
to use to send replies. -
Uses of KafkaTemplate in org.springframework.kafka.core
Subclasses of KafkaTemplate in org.springframework.kafka.coreModifier and TypeClassDescriptionclass
AKafkaTemplate
that routes messages based on the topic name. -
Uses of KafkaTemplate in org.springframework.kafka.listener.adapter
Methods in org.springframework.kafka.listener.adapter with parameters of type KafkaTemplateModifier and TypeMethodDescriptionvoid
MessagingMessageListenerAdapter.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 TypeClassDescriptionclass
A replying template that aggregates multiple replies with the same correlation id.class
ReplyingKafkaTemplate<K,
V, R> A KafkaTemplate that implements request/reply semantics.