Skip to content

reactive-rsocket-broker/rsocket-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rsocket-box

A lightweight container with RSocket and Alibaba RSocket Broker utilities.

How to run rsocket-box in Kubernetes?

kubectl run -i --rm --tty rsocket-box --image=linuxchina/rsocket-box --restart=Never --image-pull-policy=Always

Commands

  • just brokers: list brokers
  • alirsc: call services registered on the broker
  • List brokers:
alirsc tcp://rsocket-broker.rsocket.svc.cluster.local:9999 --request --route com.alibaba.rsocket.discovery.DiscoveryService.getInstances -d '["*"]'
  • Call UserService
alirsc tcp://rsocket-broker.rsocket.svc.cluster.local:9999 --request --route com.alibaba.user.UserService.findById -d '[1]'

About

A container with RSocket utilities

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published