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...
- Host: GitHub
- URL: https://github.com/daggerok/spring-cloud-gateway-rsocket-example
- Owner: daggerok
- Created: 2020-03-25T05:42:00.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-10-12T23:49:16.000Z (about 4 years ago)
- Last Synced: 2025-04-05T10:23:05.294Z (9 months ago)
- Topics: rsocket, rsocket-java, rsocket-metadata, rsockets, spring-cloud-gateway-rsocket, spring-cloud-rsocket, spring-cloud-rsocket-gateway
- Language: Java
- Size: 67.4 KB
- Stars: 7
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# spring-cloud-gateway-rsocket example [](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