19/04/2022: Feign Reactive does not currently have support for Spring Boot 3. See the issues on github

Answer from OzuSkywalker on Stack Overflow
🌐
GitHub
github.com › PlaytikaOSS › feign-reactive › issues › 516
Support of spring-boot 3 · Issue #516 · PlaytikaOSS/feign-reactive
October 11, 2022 - Is there a possibility to support spring-boot 3.0.0 (currently still on milestone release) on a dedicated branch ? I am experiencing a NoSuchMethodError with the 3.2.6 release java.lang.NoSuchMethodError: 'org.springframework.http.HttpStatus org.springframework.web.reactive.function.client.ClientResponse.statusCode()' at reactivefeign.webclient.client.WebReactiveHttpResponse.status(WebReactiveHttpResponse.java:42) at reactivefeign.client.StatusHandlerPostProcessor.apply(StatusHandlerPostProcessor.java:45) at reactivefeign.client.StatusHandlerPostProcessor.apply(StatusHandlerPostProcessor.java:28) at reactor.core.publisher.MonoFlatMap$FlatMapMain.onNext(MonoFlatMap.java:132)
Author: PlaytikaOSS
People also ask

Can Feign clients be used in reactive Spring WebFlux applications?
Standard Feign is synchronous and blocking — using it in a WebFlux application ties up non-blocking event loop threads and defeats the purpose of reactive programming. Use Spring's reactive WebClient with @LoadBalanced for reactive inter-service communication. If you must use Feign in a reactive context, use feign-reactor (a third-party extension) or wrap Feign calls in Mono.fromCallable(...).subscribeOn(Schedulers.boundedElastic()).
🌐
thecodeforge.io
thecodeforge.io › home › java › spring cloud feign client: declarative http in microservices
Feign Client in Spring Boot Microservices: Spring Cloud | TheCodeForge
Can I use Feign clients without Spring Cloud Eureka?
Yes. Set a URL in @FeignClient(url='http://target-service:8080') to bypass service discovery. For Docker Compose environments use service names as hostnames. For Kubernetes without Eureka use Kubernetes DNS names (http://service-name.namespace.svc.cluster.local). You lose automatic load balancing but retain all other Feign features (ErrorDecoder, RequestInterceptor, Resilience4j, Micrometer).
🌐
thecodeforge.io
thecodeforge.io › home › java › spring cloud feign client: declarative http in microservices
Feign Client in Spring Boot Microservices: Spring Cloud | TheCodeForge
Does Spring Cloud OpenFeign support Spring Boot 3.x and Java 17?
Yes. Spring Cloud OpenFeign 4.x (Spring Cloud 2022.0+ / Kilburn) supports Spring Boot 3.x with Java 17+. It includes GraalVM native image support. Use the spring-cloud-starter-openfeign dependency with the Spring Cloud BOM for your Spring Boot version.
🌐
thecodeforge.io
thecodeforge.io › home › java › spring cloud feign client: declarative http in microservices
Feign Client in Spring Boot Microservices: Spring Cloud | TheCodeForge
🌐
GitHub
github.com › PlaytikaOSS › feign-reactive
GitHub - PlaytikaOSS/feign-reactive: Reactive Feign client inspired by https://github.com/OpenFeign project · GitHub
You can enable auto-configuration of reactive Feign clients as Spring beans just by adding feign-reactor-spring-configuration module to classpath.
Starred by 636 users
Forked by 131 users
Languages: Java
🌐
GitHub
github.com › PlaytikaOSS › feign-reactive › blob › develop › feign-reactor-spring-configuration › README.md
feign-reactive/feign-reactor-spring-configuration/README.md at develop · PlaytikaOSS/feign-reactive
To enable auto-configuration of reactive feign clients you need to add @EnableReactiveFeignClients annotation to your Spring Boot configuration class.
Author: PlaytikaOSS
🌐
Vinsguru
vinsguru.com › spring-webclient-with-feign
Spring WebClient With Feign | Vinsguru
February 5, 2022 - version: '3' services: server: image: clue/json-server ports: - 3000:80 volumes: - ${PWD}/db.json:/data/db.json · Once the docker container is up and running, we should be able to access below end points. ... GET a specific movie with id. ... We have our movie-service ready. Lets create a Reactive Feign client to interact with this service. Lest create a Spring project with the following dependencies.
🌐
Spring Cloud
cloud.spring.io › spring-cloud-openfeign › reference › html
Spring Cloud OpenFeign
Reactive Support · 1.13.1. Early Initialization Errors · 2. Configuration properties · 3.0.0-SNAPSHOT · This project provides OpenFeign integrations for Spring Boot apps through autoconfiguration and binding to the Spring Environment and other Spring programming model idioms.
Top answer
1 of 2
10

I'm finding this question incomplete without proper usage example of how things should be set up.

Since op did not mention target language I'm feeling like to share Kotlin setup that works in my case:

build.gradle.kts

implementation("org.springframework.boot:spring-boot-starter-webflux")
implementation("com.playtika.reactivefeign:feign-reactor-core:3.2.1")
implementation("com.playtika.reactivefeign:feign-reactor-spring-configuration:3.2.1")
implementation("com.playtika.reactivefeign:feign-reactor-webclient:3.2.1")

Config.kt

@Configuration
@EnableWebFlux
@EnableReactiveFeignClients
class Config {
}

MyFeignClient.kt

@Component
@ReactiveFeignClient(
        url = "\${package.service.my-service-url}",
        name = "client"
)
interface MyFeignClient {
    @GetMapping(value = ["/my/url?my_param={my_value}"], consumes = ["application/json"])
    fun getValues(
            @PathVariable(name = "my_value") myValue: String?,
        ): Mono<MyEntity?>?
}

Then here goes code in some service class:

val myClient: MyFeignClient = WebReactiveFeign.builder<MyFeignClient>()
        .contract(ReactiveContract(SpringMvcContract()))
        .target(MyFeignClient::class.java, "http://example.com")
// feel free to add .block() to get unpacked value or just chain your logic further
val response = myClient.getValues(param)
2 of 2
6

You can check this library: https://github.com/Playtika/feign-reactive

implementation of Feign on Spring WebClient. Brings you the best of two worlds together: concise syntax of Feign to write client-side API on fast, asynchronous and non-blocking HTTP client of Spring WebClient

Find elsewhere
🌐
Stack Overflow
stackoverflow.com › questions › tagged › reactive-feign-client
Newest 'reactive-feign-client' Questions - Stack Overflow
June 18, 2024 - I want to achieve this configuration, or are there any other solutions? server-map: push-sever: name: http://xxxx url: http:/// use-name: true @ReactiveFeginClient(value="${${... ... I have a scenario where I have to update value of a property in runtime only. There is a restAPI endpoint which I'm calling in my springBoot Application through FeignClient. This restAPI URL gets ... ... Hi I'm implementing a spring boot application with spring version 3.0.2 and using feign-reactor-webclient:3.2.6 for API client.
🌐
Spring
docs.spring.io › spring-cloud-openfeign › docs › current › reference › html
Spring Cloud OpenFeign
Until that is done, we recommend using feign-reactive for Spring WebClient support. We discourage using Feign clients in the early stages of application lifecycle, while processing configurations and initialising beans.
🌐
TheCodeForge
thecodeforge.io › home › java › spring cloud feign client: declarative http in microservices
Feign Client in Spring Boot Microservices: Spring Cloud | TheCodeForge
May 23, 2026 - Spring Cloud OpenFeign 4.x (Spring Cloud 2022.0+ / Kilburn) supports Spring Boot 3.x with Java 17+. It includes GraalVM native image support. Use the spring-cloud-starter-openfeign dependency with the Spring Cloud BOM for your Spring Boot version. ... Standard Feign is synchronous and blocking — using it in a WebFlux application ties up non-blocking event loop threads and defeats the purpose of reactive programming.
🌐
GitHub
github.com › PlaytikaOSS › feign-reactive › issues › 651
springboot 3.2 app not starting with reactive feign in class path · Issue #651 · PlaytikaOSS/feign-reactive
December 8, 2023 - openJDK17 spring-cloud.version 2023.0.0 spring boot parent version 3.2.0 feign-reactor-spring-cloud-starter version 4.0.3 · NOTE: Application started normally after removing reactive feign from class path
Author: PlaytikaOSS
🌐
Stack Overflow
stackoverflow.com › questions › 79568668 › how-to-configure-reactive-feigns-underlying-httpclient-in-spring-boot
How to configure Reactive Feign's underlying HttpClient in spring boot? - Stack Overflow
Define a custom WebClient.Builder bean with a NettyClientHttpConnector using HttpClient.create().resolver(spec -> spec.retryTcp(true)), and Reactive Feign will auto-use it.
🌐
Stack Overflow
stackoverflow.com › questions › tagged › reactive-feign-client
Highest scored 'reactive-feign-client' questions - Stack Overflow
I have a Spring Boot application that uses the feign-reactive library by PlaytikaOSS to create non-blocking HTTP clients using Project Reactor. The library is configured via the following dependencies:... ... I want to achieve this configuration, or are there any other solutions? server-map: push-sever: name: http://xxxx url: http:/// use-name: true @ReactiveFeginClient(value="${${...
🌐
GitHub
github.com › PlaytikaOSS › feign-reactive › blob › develop › feign-reactor-spring-configuration › src › main › java › reactivefeign › spring › config › ReactiveFeignClient.java
feign-reactive/feign-reactor-spring-configuration/src/main/java/reactivefeign/spring/config/ReactiveFeignClient.java at develop · PlaytikaOSS/feign-reactive
* Annotation for interfaces declaring that a REST client with that interface should be · * created (e.g. for autowiring into another component). * * patterned after org.springframework.cloud.netflix.feign.FeignClient · */ @Target(ElementType.TYPE) @Retention(RetentionPolicy.RUNTIME) @Documented · public @interface ReactiveFeignClient { ·
🌐
GitHub
github.com › spring-cloud › spring-cloud-openfeign › issues › 1002
PlaytikaOSS feign-reactive does not support spring boot 3.2.x · Issue #1002 · spring-cloud/spring-cloud-openfeign
March 15, 2024 - Reactive Support As the OpenFeign project does not currently support reactive clients, such as Spring WebClient, neither does Spring Cloud OpenFeign.We will add support for it here as soon as it becomes available in the core project.
Author: spring-cloud
🌐
GitHub
github.com › kptfh › feign-reactive
GitHub - kptfh/feign-reactive: Reactive Feign client based on Spring WebFlux · GitHub
<dependency> <groupId>io.github.reactivefeign</groupId> <artifactId>feign-reactor-cloud</artifactId> <version>1.0.0</version> </dependency> or if you don't need cloud specific functionality <dependency> <groupId>io.github.reactivefeign</groupId> <artifactId>feign-reactor-webclient</artifactId> <version>1.0.0</version> </dependency> or if you tend to use Rx2 interfaces <dependency> <groupId>io.github.reactivefeign</groupId> <artifactId>feign-reactor-rx2</artifactId> <version>1.0.0</version> </dependency> ...
Starred by 168 users
Forked by 167 users
Languages: Java
🌐
Medium
medium.com › bliblidotcom-techblog › spring-cloud-circuit-breaker-implementation-using-resilience4j-and-reactive-feign-24a863e98457
Spring Cloud Circuit Breaker Implementation Using Resilience4j and Reactive Feign | by Faza Zulfika Permana Putra | Blibli.com Tech Blog | Medium
November 27, 2022 - You can generate skeleton of project, using start.spring.io. Then add additional dependencies above. This is the pom.xml file example (please adjust some part from this snippet based on your needs). First thing that we need to prepare is ReactiveResilience4JCircuitBreakerFactory Bean. This factory bean is used to create Circuit Breaker Object for each Reactive Feign Client that we used.
🌐
Better Programming
betterprogramming.pub › feign-reactive-my-preferred-solution-for-rest-api-consumption-5d79a283b24f
Feign Reactive — My Preferred Solution for REST API Consumption | by Wenqi Glantz | Better Programming
October 24, 2022 - OpenFeign is a popular framework ... an external service in microservices architecture. Feign Reactive is the implementation of Feign on Spring WebClient....
🌐
GitHub
github.com › hzlulu › feign-reactive
GitHub - hzlulu/feign-reactive: Reactive Feign client inspired by https://github.com/OpenFeign project · GitHub
You can enable auto-configuration of reactive Feign clients as Spring beans just by adding feign-reactor-spring-configuration module to classpath.
Author: hzlulu
🌐
Baeldung
baeldung.com › home › spring › spring cloud › introduction to spring cloud openfeign
Introduction to Spring Cloud OpenFeign | Baeldung
February 19, 2026 - In this tutorial, we’re going to describe Spring Cloud OpenFeign — a declarative REST client for Spring Boot apps. Feign makes writing web service clients easier with pluggable annotation support, which includes Feign annotations and JAX-RS annotations.