Unexpected cyclic dependency while combining spring-kafka and reactor-kafka

The following code produces unexpected cyclic dependency between receiverOptions and template: Surprisingly it works if kafkaProps are removed from spring context. Looks like some auto-configuration is adding an unnecessary dependency from template to the receiverOptions. Please suggest a proper way to configure ReactiveKafkaConsumerTemplate. @SpringBootApplication public class DemoApplication { public static void main(String[] args) { SpringApplication.run(DemoApplication.class,…