Open jinkshower opened 2 months ago
I'm not sure this is a Feign issue directly, but I'm going to make a guess that you are trying to initialize a FeignClient in a thread. Feign Client initialization is not thread safe, but an initialized Feign Client should be thread safe.
Looking at the stack trace, there appears to be dependency injection occurring as part of the decode operation. It's in that operation where the deadlock occurs. If you can provide a minimal reproducible example, we may be able to help track it down.
I have no problem when using feignclient in @PostConstruct but when I use it with CompletableFuture, I get above deadlock