- Download nats-server for your platform https://nats.io/download/
- Download NATS command line client https://github.com/nats-io/natscli/releases
Start cluster on three different terminals:
> nats-server -c c1.conf
> nats-server -c c2.conf
> nats-server -c c3.conf
Check cluster status:
> nats --user=sys --password=sys server report jetstream
Other handy nats commands:
> nats stream ls
> nats consumer report
Follow the quick start here for .NET client: https://nats-io.github.io/nats.net.v2/documentation/jetstream/intro.html
More details on NATS clustering: https://docs.nats.io/running-a-nats-service/configuration/clustering