As pointed out by @maciejwalkowiak in #32763, there are a number of @Bean methods in KafkaAutoConfiguration where the return type isn't as specific as it could be. For example, kafkaConsumerFactory always returns a DefaultKafkaConsumerFactory but its return type is only ConsumerFactory.
See #32766
Comment From: pivotal-cla
@YuanHao97 Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.
Comment From: pivotal-cla
@YuanHao97 Thank you for signing the Contributor License Agreement!
Comment From: YuanHao97
I don't have access to CI build detail, not sure why CI build failed. The unit test KafkaAutoConfigurationTests works fine locally.