RSocket Client Project instructions

Learn how to create a client-side for RSocket using Spring Initializr.

We need to do the same thing as creating a server-sideto create an RSocket client. The settings are almost identical. Visit https://start.spring.io and select:

  • Project: Maven
  • Language: Java
  • Spring Boot: Latest version
  • Project Metadata
    • Group: com.greglturnquist.hackingspringboot
    • Artifact: rsocket-client
    • Package: com.greglturnquist.hackingspringboot.reactive.client
  • Dependencies
    • RSocket
    • Spring Reactive Web

Generate this new project and we’ll be ready to send traffic over an RSocket connection.

Note: Before diving into the code, pause and review the dependencies inside pom.xml.

Get hands-on with 1200+ tech skills courses.