Closed wrwksexahatvani closed 1 week ago
Duplicate of https://github.com/spring-projects/spring-kafka/issues/3331. We will reopen this if we figure out the problem is on Spring Cloud Stream side.
Reopen since looks like the problem is with multi-binder configuration, when SmartInitializingSingleton.afterSingletonsInstantiated()
is not called for those binder-specific ApplicaitonContext
s: https://github.com/spring-projects/spring-kafka/issues/3331
Can you upgrade to the latest spring-cloud release train (2023.0.2
)? https://github.com/spring-cloud/spring-cloud-release/releases/tag/v2023.0.2. We introduced a fix in the 4.1.2
version of Spring Cloud Stream to accommodate the Spring Kafka changes. Closing the issue. Feel free to re-open if there is an issue.
Describe the bug
When starting my apps an exception will be shown:
To Reproduce
I just upgraded to Spring Cloud 2023.0.1 with Spring Boot 3.3.1 with Kotlin 2.0 on Java 22 and every service fails to start.
Expected behavior
Services start as usual.
Sample
Will try to provide, but was hoping that based on the exception it will be obvious to the maintainers what's missing.