Class KafkaBootstrapConfiguration
- java.lang.Object
-
- org.springframework.kafka.annotation.KafkaBootstrapConfiguration
-
- All Implemented Interfaces:
org.springframework.context.annotation.ImportBeanDefinitionRegistrar
public class KafkaBootstrapConfiguration extends java.lang.Object implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar
AnImportBeanDefinitionRegistrar
class that registers aKafkaListenerAnnotationBeanPostProcessor
bean capable of processing Spring's @KafkaListener
annotation. Also register a defaultKafkaListenerEndpointRegistry
.This configuration class is automatically imported when using the @
EnableKafka
annotation. SeeEnableKafka
Javadoc for complete usage.- Author:
- Stephane Nicoll, Gary Russell, Artem Bilan
- See Also:
KafkaListenerAnnotationBeanPostProcessor
,KafkaListenerEndpointRegistry
,EnableKafka
-
-
Constructor Summary
Constructors Constructor Description KafkaBootstrapConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
-
-
-
Method Detail
-
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
-
-