caarlos0-graveyard / nats-streaming-server-ha-playground

sample project showing a clustered nats-streaming-server

Home Page:https://carlosbecker.com/posts/nats-streaming-server-ha/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nats-streaming-server HA playground

cluster

just run:

(cd cluster && docker-compose up)

fault tolerant

just run:

(cd ft && docker-compose up)

consumer/producer

Producer:

go run producer/main.go CLIENT_ID nats://localhost:4221 nats://localhost:4222 nats://localhost:4223

Consumer

go run consumer/main.go CLIENT_ID nats://localhost:4221 nats://localhost:4222 nats://localhost:4223

About

sample project showing a clustered nats-streaming-server

https://carlosbecker.com/posts/nats-streaming-server-ha/


Languages

Language:Go 85.1%Language:Shell 14.9%