The version of Spring Boot was upgraded from 2.1.2.RELEASE to 2.4.6, and the RSocket version was upgraded from 0.11.16 to 1.1.0. After that, LoadbalanceRSocketClient was used to connect the client to the server. When the server is down for maintenance, when the node service stops, the client load no longer sends requests to the node, which is normal. But after the service starts, the client load no longer sends requests to the service, which is very frustrating.
Expected Behavior
Expect the client to reconnect to the server and join the load balancing strategy after the server restarts.If LoadBalanceRSocketClient can achieve reconnection and retry like LoadBalancedRSocketMono, it would be perfect
Actual Behavior
The actual situation is that the service cannot be reconnected on the client after restarting, and the service exists independently and does not accept any requests unless the client is reloaded.
Steps to Reproduce
Test method, implement a thread in a simple class to listen to port 8081, and the code is as follows:
The version of Spring Boot was upgraded from 2.1.2.RELEASE to 2.4.6, and the RSocket version was upgraded from 0.11.16 to 1.1.0. After that, LoadbalanceRSocketClient was used to connect the client to the server. When the server is down for maintenance, when the node service stops, the client load no longer sends requests to the node, which is normal. But after the service starts, the client load no longer sends requests to the service, which is very frustrating.
Expected Behavior
Expect the client to reconnect to the server and join the load balancing strategy after the server restarts.If LoadBalanceRSocketClient can achieve reconnection and retry like LoadBalancedRSocketMono, it would be perfect
Actual Behavior
The actual situation is that the service cannot be reconnected on the client after restarting, and the service exists independently and does not accept any requests unless the client is reloaded.
Steps to Reproduce
Test method, implement a thread in a simple class to listen to port 8081, and the code is as follows:
Possible Solution
The client did not reconnect to 8081 to send requests after restarting the 8081 service port
Your Environment
Spring boot 2.4.6 JDK 8 RSocket version(s) used: 1.1.0