KafkaListener containerFactory
时间: 2024-01-16 08:03:22 浏览: 127
springboot-kafka.rar
在Spring Boot中,如果在@KafkaListener注解中没有指定containerFactory属性,那么Spring Boot会默认注入名为"kafkaListenerContainerFactory"的containerFactory。这个默认的containerFactory可以在KafkaListenerAnnotationBeanPostProcessor类中找到常量DEFAULT_KAFKA_LISTENER_CONTAINER_FACTORY_BEAN_NAME的定义。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [Spring Boot 自定义kafka 消费者配置 ContainerFactory最佳实践](https://blog.csdn.net/jinzhiyong01/article/details/125424115)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [springboot整合spring-kafkakafkaTemplate](https://download.csdn.net/download/qq_37181642/85799945)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文