Examples of Spring support for RSocket

I’m very new to RSocket and, so far, have only used it through the support in the Spring framework. However, it is proving difficult to find documentation or any recent examples of configuring an application to automatically reconnect if the remote server it has connected to gets bounced. Feels like it is probably very simple to configure but nothing I’ve tried works: once the remote server gets restarted the client application never makes another successful request.

My client application is built on Spring Boot 2.3.2.RELEASE and uses “org.springframework.boot:spring-boot-starter-rsocket”.

Can anyone recommend any sample code that demonstrates how the desired behaviour can be satisfied?


Hello @George, the Javadoc on RSocketConnector#reconnect is fairly extensive including code snippets. I wonder if you have looked there?