Parameter 1 of method kafkaListenerContainerFactory in org.springframework.boot.autoconfigure.kafka.KafkaAnnotationDrivenConfiguration required a bean of type 'org.springframework.kafka.core.ConsumerFactory' that could not be found.
- Bean method 'kafkaConsumerFactory' in 'KafkaAutoConfiguration' not loaded because @ConditionalOnMissingBean (types: org.springframework.kafka.core.ConsumerFactory; SearchStrategy: all) found bean 'consumerFactory'

 

在Application中增加排除kafka配置

@SpringBootApplication(exclude = {KafkaAutoConfiguration.class})

相关文章:

  • 2021-12-08
  • 2021-09-08
  • 2021-10-29
  • 2021-08-27
  • 2022-01-26
  • 2022-02-06
  • 2022-01-01
  • 2022-12-23
猜你喜欢
  • 2021-10-27
  • 2021-09-10
  • 2021-07-08
  • 2021-08-27
  • 2021-04-23
  • 2021-11-21
  • 2021-04-09
相关资源
相似解决方案