GoScribe is a minimal pub-sub broker written in pure golang.
- "sub topic" - subscribe to a topic
- "unsub topic" - unsubscribe from a topic
- "pub topic" - publish to a topic
- "ls" - list all topics
- "quit" - disconnect from the broker
- clone this repo
git clone https://github.com/BenMeehan/goscribe.git
- cd into the cloned directory
- run
go build
- run the resultant binary
./goscribe [-h HOST] [-p PORT]
Note : HOST and PORT are optional. Defaults to 0.0.0.0 and 8090
GoScribe is a very simple broker. Think of it as a chat room server but for pub-sub. It does not provide any message persistance or queueing for now. What is not recieved by the subscribers is lost for ever!
- client library
- queueing messages inside broker
- message persistence
- health check if subscribers
Thanks to Pilutau for inspiring this project.