Class KafkaBootstrapConfiguration
java.lang.Object
org.springframework.kafka.annotation.KafkaBootstrapConfiguration
- All Implemented Interfaces:
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.
- Author:
- Stephane Nicoll, Gary Russell, Artem Bilan
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
registerBeanDefinitions
(AnnotationMetadata importingClassMetadata, 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(AnnotationMetadata importingClassMetadata, BeanDefinitionRegistry registry) - Specified by:
registerBeanDefinitions
in interfaceImportBeanDefinitionRegistrar
-