hantsy / rsocket-sample

RSocket sandbox

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RSocket Sandbox

Sample codes of RSocket Java and Spring RSocket integration.

Docs

Using Rsocket with Spring Boot(medium's link)

Building a CRUD application with RSocket and Spring

Sample Codes

  • vanilla rsocket-java sample

  • tcp Spring Boot based application using TCP protocol between client and server

  • websocket Using WebSocket as transport protocol instead in a Webflux server.

  • security Spring Security RSocket integration.

  • server-requester Sending message to client via Server RSocketRequster.

  • integration Spring Integration RSocket inbound and outbound gateway.

    • client Sending messages to server via Spring Integration RSocket OutboundGateay.
    • client-regular Simple example using Spring Boot RSocket Starter aka RSocketRequestor.
    • server-vanilla Handling messages via Spring Integration RSocket InboundGateway.
    • server Similar with server-vanilla, but reuse Spring Boot RSocket Starter and declare the ServerRSocketConnecter bean through ServerRSocketMessageHandler.
    • server-regular Simple example using Spring Boot RSocket Starter aka @Controller and @MessageMapping.
  • crud Client and server CRUD interaction sample.

    • client Sending messages to server via RSocketRequestor and TCP protocol.
    • server Running on Netty/TCP(no web/http support) and handling request via TCP protocol.

References

About

RSocket sandbox

License:GNU General Public License v3.0


Languages

Language:Java 100.0%