OpenFeign/feign

Builder breaks resilience4j 1.7.x (latest java <17 compatible release)

nilo85 opened this issue · 3 comments

As introduced in #2117

It seems feign breaks the builder pattern by breaking the builder chain and returning a new builder. this effectivly disables any extension builders as such defined by resilience4j.

https://github.com/resilience4j/resilience4j/blob/master/resilience4j-feign/src/main/java/io/github/resilience4j/feign/Resilience4jFeign.java#L60

Looking at current master version of resilience4j I suspect its the case with 2.X too

After some back and forth I think this is an issue with resilience4j.
I made a PR that addresses this here in resilience4j resilience4j/resilience4j#2127

Closing as I do not think issue will be resolved from this end of the problem =)