I am upgrading a Spring Cloud Stream application from Spring Boot 2.7.6 to 3.0.0 So far, I had to change only some code to get the project compiled
KafkaHeaders.MESSAGE_KEY
toKafkaHeaders.KEY
KafkaTestUtils.getSingleRecord()
needs now a Duration as the 3rd parameter instead of long
But when starting the application the autowiring of org.springframework.cloud.stream.endpoint.BindingsEndpoint
doesn't work anymore:
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.cloud.stream.endpoint.BindingsEndpoint' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
Is there a documentation, what has to be done, to get it working?
Here is my sample project. The main branch contains the working code with Spring Boot 2.7.6.