Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

RSocket Gateway

linux_china edited this page Mar 5, 2020 · 1 revision

RSocket Gateway是指将其他通讯协议适配到RSocket上,从而可以消费RSocket Service。 目前主要包括以下一些适配:

  • HTTP Gateway(内置): 通过HTTP协议访问RSocket服务
  • gRPC: 以gRPC接口访问RSocket服务
  • MQTT: 以MQTT协议访问RSocket服务

RSocket HTTP Gateway

Alibaba RSocket Broker默认提供对HTTP访问的支持,相信请访问: https://github.com/alibaba/alibaba-rsocket-broker/tree/master/alibaba-broker-http-gateway

RSocket gRPC Gateway

RSocket MQTT Gateway

基于Netty的MQTT的Encoder和Decoder,建立MQTT和RSocket通讯的桥梁,主要是基于RSocket的Request/Stream模型。

RSocket

Network Protocol

  • Binary: byte stream
  • Async message
  • Multi transports
  • Reactive Semantics

Symmetric interactions

  • request/response
  • request/stream
  • fire-and-forget
  • channel

Transports

  • TCP+TLS
  • WebSocket+TLS
  • UDP(Aeron)
  • RDMA

Polyglot

Clone this wiki locally