Technology Sharing

Spring boot integrates Rsocket, server and client

2024-07-06

한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina

1. Introduction

RSocket is a binary protocol that can be used for byte stream transmission application protocols such as TCP, WebSockets and Aeron, with the following interaction model:

1. Request-Response: Send a message and receive a message.

2. Request-Stream: Send a message and receive a returned message stream.

3. Channel: Bidirectional message flow.

4. Fire-and-Forget: Send a one-way message.
2. Server Code

1. Installation dependencies