Closed InternetPseudonym closed 4 years ago
the workaround is to instantiate the factory manually :
@Bean
public ReactiveResilience4JCircuitBreakerFactory factory()
{
return new ReactiveResilience4JCircuitBreakerFactory();
}
I think this needs to be fixed - the spring context needs to be able to instantiate this factory by itself, as long as it is on the classpath
It should be creates in this autoconfiguration https://github.com/spring-cloud/spring-cloud-circuitbreaker/blob/1.0.x/spring-cloud-circuitbreaker-resilience4j/src/main/java/org/springframework/cloud/circuitbreaker/resilience4j/ReactiveResilience4JAutoConfiguration.java
Could you put the code in a repo or attach it as a zip?
problem was : i used spring-boot-parent instead of spring-cloud-parent .... maybe thats something which could be warned about in the documentation somewhere (for users which are used to including boot-parent)
During app startup, the following exception is thrown :
my configuration beans (inside of a class annotated with @Configuration):
the majority of my POM.xml :