Jellyfish in-memory broker message.
Make config from template:
cat configs/broker.yaml.template >> configs/broker.yaml
go run cmd/broker/main.go
A Config by once file looks like this:
A Config by slaves file looks like this:
addr: 'localhost:7654' slaves: - 'localhost:7653' - 'localhost:7652' - 'localhost:7651'
If you want start with replicas
- run slave broker
- run master broker with config slaves
- add the ability to save sent messages
- add smarter reallocation implementation
- better consider data replication properties