Class KafkaBootstrapConfiguration
java.lang.Object
org.springframework.kafka.annotation.KafkaBootstrapConfiguration
- All Implemented Interfaces:
org.springframework.context.annotation.ImportBeanDefinitionRegistrar
public class KafkaBootstrapConfiguration
extends Object
implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar
An
ImportBeanDefinitionRegistrar
class that registers a KafkaListenerAnnotationBeanPostProcessor
bean capable of processing Spring's @KafkaListener
annotation. Also register
a default KafkaListenerEndpointRegistry
.
This configuration class is automatically imported when using the @EnableKafka
annotation. See EnableKafka
Javadoc for complete usage.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
registerBeanDefinitions
(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar
registerBeanDefinitions
-
Constructor Details
-
KafkaBootstrapConfiguration
public KafkaBootstrapConfiguration()
-
-
Method Details
-
registerBeanDefinitions
public void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry) - Specified by:
registerBeanDefinitions
in interfaceorg.springframework.context.annotation.ImportBeanDefinitionRegistrar
-