An open API service indexing awesome lists of open source software.

https://github.com/daggerok/spring-cloud-gateway-rsocket-example

Polyglot RSocket clients communication via RSocket gateway cluster...
https://github.com/daggerok/spring-cloud-gateway-rsocket-example

rsocket rsocket-java rsocket-metadata rsockets spring-cloud-gateway-rsocket spring-cloud-rsocket spring-cloud-rsocket-gateway

Last synced: 8 months ago
JSON representation

Polyglot RSocket clients communication via RSocket gateway cluster...

Awesome Lists containing this project

README

          

# spring-cloud-gateway-rsocket example [![CI](https://github.com/daggerok/spring-cloud-gateway-rsocket-example/actions/workflows/ci.yaml/badge.svg)](https://github.com/daggerok/spring-cloud-gateway-rsocket-example/actions/workflows/ci.yaml)
Polyglot RSocket clients communication via RSocket gateway cluster...

```
+------+ +------+
+~-*-~--~> | gw 2 | <~-~> | pong |
| +------+ +------+
Client V | Server
+------+ +------+ +------+
| ping | <~-~> | gw 1 | <~-~> | gw 3 |
+------+ +------+ +------+
```

* no service mesh
* no sidecar
* no circuit breaker

## deprecation

Unfortunately, that project has been deprecated. See: https://github.com/rsocket-routing/rsocket-routing-broker instead

Updated project example repository located here: https://github.com/daggerok/rsocket-routing-example

## getting started

start _r-socket gateway cluster_ run _ping-pong_ apps

```bash
./mvnw compile spring-boot:start -f gateway -Pgw1
./mvnw compile spring-boot:start -f gateway -Pgw2
./mvnw compile spring-boot:start -f gateway -Pgw3
./mvnw compile spring-boot:start -f pong
./mvnw compile spring-boot:start -f ping
```

after all _tear down_ everything

```bash
#./mvnw spring-boot:stop -f pong
#./mvnw spring-boot:stop -f ping
#./mvnw spring-boot:stop -f gateway -Pgw3
#./mvnw spring-boot:stop -f gateway -Pgw2
#./mvnw spring-boot:stop -f gateway -Pgw1
killall java
```

## Versions

* `spring-cloud` -> `Hoxton.RELEASE`
* `spring-cloud-gateway-rsocket` -> `2.2.0.M2`
* `spring-cloud-rsocket-broker` -> `0.2.0.BUILD-SNAPSHOT`
* `spring-cloud-rsocket-client` -> `0.2.0.BUILD-SNAPSHOT`

## Resources

* https://www.infoq.com/presentations/rsocket-spring-cloud-gateway
* https://github.com/spencergibb/rsocket-routing-sample