Jellyfish in-memory broker message.

PkgGoDev GitHub release Go Report Card

Jellyfish

Philosophy:


Design:


Quick Start:


Make config from template:

cat configs/broker.yaml.template >> configs/broker.yaml

Start broker:

go run cmd/broker/main.go

or:

make run-broker

build:

make build-broker

A Config by once file looks like this:

addr: 'localhost:7654'

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

Future:


  • add the ability to save sent messages
  • add smarter reallocation implementation
  • better consider data replication properties

GitHub

View Github