Routes CloudEvents from an input UNIX Socket port to an output UNIX Socket port.
- openbsd-netcat, command
nc
- arch linux: install it from the arch repository with
yaourt -S openbsd-netcat
- mac: install it with homebrew
brew install netcat
- arch linux: install it from the arch repository with
- run
cargo run --bin unix_socket
- listen to the outgoing socket
nc -U ./cloud-events-out
- connect to the incoming socket
nc -U ./cloud-events-in
- send a CloudEvents over the
cloud-events-in
socket, e.g.{"type":"test type","specversion":"1.0","source":"http://www.google.com","id":"id","contenttype":"application/json","data":"test"}