reactor-netty Questions

3

I'm trying to configure spring-webflux WebClient (with reactor netty under the hood) with ssl and client hostname verification. I'm provided with javax.net.ssl.SSLContext, HostnameVerifier and a li...
Granulation asked 26/7, 2018 at 15:5

3

Solved

I want to implement simple Spring Security WebFlux application. I want to use JSON message like { 'username': 'admin', 'password': 'adminPassword' } in body (POST request to /signin) to sig...
Ahola asked 25/4, 2018 at 6:46

3

Solved

I have started a new project using Spring Webflux and I am fairly new to this reactive coding paradigm. So apologies in advance for questioning like newbies. My controller method returns the respo...
Shevat asked 18/10, 2019 at 6:37

2

I am using WebClient in a Spring Boot MVC 2.1 project and found that the first request made by the client takes up to 6 seconds. Subsequent requests are way faster (~30ms). There's a closed issue ...
Martinic asked 27/12, 2018 at 10:29

2

Solved

I'm facing an issue with WebClient and reactor-extra. Indeed, I have the following method : public Employee getEmployee(String employeeId) { return webClient.get() .uri(FIND_EMPLOYEE_BY_ID_URL, ...

1

Solved

This solution is dependent on deprecated method HttpClient.create().tcpConfiguration and BootstrapHandlers class. Basically I want to create public class HttpLoggingHandler extends LoggingHandler ...
Halyard asked 7/6, 2022 at 19:33

2

Solved

I am using the Reactor Netty HTTP client here as a stand alone dependency, ie not via spring-webflux because I do not want to drag in Spring related dependencies As can be seen from the documentati...
Classics asked 6/9, 2020 at 15:8

1

I am using webclient in springboot application to call a external restful webservice. getting this exception intermittently. javax.net.ssl.SSLException: SSLEngine closed already SSLEngine closed al...

1

I'm trying to achieve parallelism per group, wherein grouped element runs in parallel and within the group each element works sequentially. However for the below code, the first emit uses parallel ...
Rabe asked 27/7, 2021 at 9:10

1

I am running load of a microservice API, which involves calling other microservice API using Spring Reactive Webclient. I am using Postman runner tab to test this. Firstly, i run the load with 1500...
Martellato asked 3/8, 2021 at 17:31

5

Solved

I am using reactor-netty http client (0.7.X series) with connection pooling and would like to configure pooled connection's idle timeout but don't know where. More precisely, I need to configure r...
Gripsack asked 19/2, 2019 at 8:0

10

Solved

I'm trying to set timeout on my WebClient, here is the current code : SslContext sslContext = SslContextBuilder.forClient().trustManager(InsecureTrustManagerFactory.INSTANCE).build(); ClientHttp...
Gilletta asked 15/9, 2017 at 8:52

3

I'm using Spring reactive WebClient for sending requests to a http server. Inorder to view the underlying request & response that's being sent, I enabled debug logging for reactor.ipc.netty pac...
Moonmoonbeam asked 1/12, 2017 at 15:29

3

I'm kinda stuck with a trivial task: whenever I query an external API with reactive spring WebClient or query reactive MongoDBRepository, I'd like to log how many entities got through my flux, eg. ...
Pertinent asked 1/8, 2018 at 20:55

2

HttpClient from offers various "timeouts" to be configured, two slightly confuses me: responseTimeout: This is time that takes to receive a response after sending a request ReadTimeoutHa...
Nonmetal asked 2/10, 2020 at 23:6

2

Solved

For a fully non-blocking end to end reactive calls, is it recommended to explicitly call publishOn or subscribeOn to switch schedulers? For either cpu consuming or non consuming tasks, is it favora...

1

Solved

I'm using Reactor Netty through the Spring Webflux framework in order to send data to a remote content delivery network. When a client request is completed, the default Reactor Netty behaviour is t...
Headpiece asked 24/3, 2020 at 15:12

0

I am new to Netty and undertow trying to understand why we use netty instead of undertow , Performance wise which one is better to use
Mcguigan asked 6/1, 2020 at 19:24

2

I am running spring cloud gateway (which I understand to be built on Spring Webflux) behind an AWS loadbalancer and I am receiving intermittent 502 errors. Upon investigation, it appears the issue ...
Thallophyte asked 3/12, 2018 at 4:45

1

I am doing some testing with Spring WebClient. In the following codes, I have set the compress to true. However when I check the debug logs, I can see the "accept-encoding: gzip" header is added, b...
Lipophilic asked 20/8, 2019 at 6:45

0

In Spring 5, we are using webclient to call other REST endpoints over SSL. When we took the logs on wireshark, we saw that for each request, SSL handshake is happening and it is taking a lot of tim...
Crysta asked 10/7, 2019 at 8:27

1

Solved

I don't understand reactive webclient works. It says that spring webclient is non-blocking client, but this webclient seems waiting signal onComplete() from remote api, then it can process each ite...
Skyway asked 1/5, 2019 at 15:58

1

Solved

I am using springboot webclient to call rest api from remote server. First request works fine. If I made subsequent request after sometime, the server throws 500 server error. The error I got is " ...
Camisado asked 10/4, 2019 at 16:48

0

Springboot Webclient throws "An existing connection was forcibly closed by the remote host" error when trying to call rest api in remote server. When the server loads, the first server request lo...
Inga asked 10/4, 2019 at 21:50

3

Solved

I am writing a simple app with Spring 5 Webflux and Kotlin. I am trying to implement PUT endpoint in a following way: PUT("/confs/{id}", { val id = it.pathVariable("id") ServerResponse.ok().body...

© 2022 - 2025 — McMap. All rights reserved.