Questions tagged [reactive-feign-client]
17 questions
16
votes
3 answers
SpringBoot FeignClient vs WebClient
I want to consume a couple of rest services. Before, I used RestTemplate, but now I want to know The main differences between Spring Boot FeignClient and WebClient.
When should they be used?

Tohid Makari
- 1,700
- 3
- 15
- 29
3
votes
1 answer
error handling with reactiveFeignClient and CircuitBreaker
we are using reactive feign client (com.playtika.reactivefeign:feign-reactor-spring-cloud-starter:3.2.0)
circuit breaker version : org.springframework.cloud:spring-cloud-starter-circuitbreaker-reactor-resilience4j:2.1.0
and spring boot application…

Chen Avraham
- 33
- 4
1
vote
2 answers
My microservice is not receiving "Authorization" from request header when i use feign-reactive to call it from another microservice
I have 2 microservices, ProductStore and InvoiceStore.
I want ProductStore to provide product information through an API and InvoiceStore to call that API to get product information from ProductStore.
But ProductStore needs Authorization information…

loc.dang
- 374
- 3
- 19
1
vote
0 answers
Handle not present field in GraphQL request in Java
I have a GraphQL application running. In another application, I am trying to send mutation request in which a field is omitted (using Java). How can I ensure that GraphQL can handle my request as expected. For example if I have MyInput = {field1:…

Radar
- 25
- 6
1
vote
1 answer
reactive feign client global retry
I am switching from feign client to reactive feign client, I have defined global retryer for feign:
@Bean
Retryer retryer() {
return new Retryer.Default(100, 1, 5);
}
@Bean
ErrorDecoder errorDecoder() {
return new…

Patrik
- 77
- 8
1
vote
1 answer
No bean found of type interface reactivefeign.ReactiveFeignBuilder for "service"
I have created a simple Reacting Feign Client
@ReactiveFeignClient(name = "mechanic-service", path = "${mechanic.service.url}")
public interface MechanicClient {
@GetMapping("/mechanic-api/hello")
Mono hi();
}
Now when I…

oOXAam
- 237
- 1
- 6
- 20
1
vote
1 answer
Reactive Feign with Webflux
I'm using Reactive Feign implementation from here (https://github.com/Playtika/feign-reactive) but even when I tried to use Spring WebClient I have the same problem.
When I call a URL with a POST Request, passing a JSON Body, the stream never done.…

Efraim Coutinho
- 11
- 1
- 3
1
vote
1 answer
Using dynamic URL for Spring ReactiveFeignClient
I'm using ReactiveFeignClient from Playtika
I need to use dynamic URL especially for the host part because I want to use the same interface for several services that have the same request and response formats, but different host. The URLs on each…

CherryBelle
- 1,302
- 7
- 26
- 46
1
vote
1 answer
How to integrate Prometheus with ReactiveFeignClient to meter response time/hits of each status code returned from client call
I am with a Spring Boot project with WebFlux + Spring Reactor, and it calls other services with ReactiveFeignClient.
How can I integrate Prometheus so that I could monitor response time (with a @Timer) and the percentage of each status code…

WesternGun
- 11,303
- 6
- 88
- 157
0
votes
0 answers
feign-reactor-core ReactiveRetryPolicy causing a huge delay in the api response from webTestClient
I have an existing application on spring boot 2.4.4 running on Java 11. I am migrating to Java 17 and Spring boot 2.7.10. I am using feign-reactor-core to enable feign and have configured a retry policy
pom.xml
…

Mukesh
- 1
- 1
0
votes
0 answers
Header based bearer authentication with feign-reactive
We are currently working on a service-based architecture, in which each service follows a reactive approach and uses Spring WebFlux and Spring Boot. Furthermore, each service is secured via an OAuth2 bearer token approach that is send via…

piwa
- 37
- 6
0
votes
1 answer
ReactiveFeignNamedContextFactory could not be found ReactiveFeignClient
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. Every time I start application it shown error:
Parameter 0 of constructor in…

Toro
- 23
- 4
0
votes
2 answers
How do I get templated values in uri tag for http-client-requests metrics using ReactiveFeignClient?
We are using Spring Boot 2.7.8 and the micrometer-registry-prometheus dependency to capture metrics.
We use feign-reactor-webclient:3.2.6 to call out to another service. The metrics being generated by this call contain the actual values in the URI…

mlenizyaka
- 1
- 1
0
votes
0 answers
How to establish SOAP communication with Feign-reactive
How to make the below SOAP call using Feign-reactive
Response soapCall(Request request){
JAXBElement responseJAXBElement =
(JAXBElement) getWebServiceTemplateCustom().marshalSendAndReceive(
…

Learner
- 5
- 2
0
votes
0 answers
Playtika's OSS Feign Client: org.springframework.web.reactive.function.client.WebClientRequestException: Connection prematurely closed BEFORE response
The issue
I've stumbled upon the issue:
Error message: org.springframework.web.reactive.function.client.WebClientRequestException: Connection prematurely closed BEFORE response; nested exception is reactor.netty.http.client.PrematureCloseException:…

Artique
- 86
- 2
- 6