Skip to content

making/demo-rsocket-tracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo RSocket Tracing

Download rsc CLI. 0.9.1+ is required (to get it to work with HTTP instead of HTTPS).

Uses Tracing (Zipkin) Metadata Extension

Run Zipkin Server in advance as follows:

docker run --rm -p 9411:9411 openzipkin/zipkin-slim

Fire and Forget

$ rsc ws://localhost:8080/rsocket -r fnf --fnf  --trace --printB3 --zipkinUrl http://localhost:9411
b3=60d948c6647069d1702285c4f51c2155-702285c4f51c2155-d

image

Request Response

$ rsc ws://localhost:8080/rsocket -r rr --trace --printB3 --zipkinUrl http://localhost:9411 
Hello World!
b3=60d949274ef6766446fb6c5b36eee18a-46fb6c5b36eee18a-d

image

Request Stream

$ rsc ws://localhost:8080/rsocket -r rs --stream --trace --printB3 --zipkinUrl http://localhost:9411
H
e
l
l
o
 
W
o
r
l
d
!
b3=60d9497a50685780fca24d0c77f8dc4a-fca24d0c77f8dc4a-d

image

Request Channel

$ rsc ws://localhost:8080/rsocket -r rc -d - --channel --trace --printB3 --zipkinUrl http://localhost:9411
world
Hello world!
demo
Hello demo!
test
Hello test!
(Ctrl+D)
b3=60d949a8b586bf31c059c3fa15390c62-c059c3fa15390c62-d

image

About

RSocket + Tracing Demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages