brew install gnatsd
[NATS)(https://www.nats.io/documentation/tutorials/gnatsd-install/)
-
Create Server 1 server1.conf
-
Create Server 2 server2.conf
Download the
Configuration
files from above links to$(pwd)
gnatsd -config server1.conf -D
gnatsd -config server2.conf -D