public class KafkaBootstrapConfiguration
extends java.lang.Object
implements org.springframework.context.annotation.ImportBeanDefinitionRegistrar
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.
KafkaListenerAnnotationBeanPostProcessor
,
KafkaListenerEndpointRegistry
,
EnableKafka
Constructor and Description |
---|
KafkaBootstrapConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata,
org.springframework.beans.factory.support.BeanDefinitionRegistry registry) |
public void registerBeanDefinitions(org.springframework.core.type.AnnotationMetadata importingClassMetadata, org.springframework.beans.factory.support.BeanDefinitionRegistry registry)
registerBeanDefinitions
in interface org.springframework.context.annotation.ImportBeanDefinitionRegistrar