Wednesday, January 22, 2020

NATS multiple seed cluster

"NATS.io is a simple, secure and high performance open source messaging system for cloud native applications, IoT messaging, and microservices architectures."

There are some documents for NATS clustering, here and here.

Today, we would like to start a NATS cluster with two seed servers, the architecture look like: 


// To fill in the architecture diagram


Here are the steps for starting up the cluster:

  • Start up the two seed servers (seed1 and seed2):

  • Start three cluster servers (server A, B, C):


Voila! You get the cluster running, now it's time test it out:
  • Start subscriber and publisher:

No comments:

Full Guide for using Bitnami Prometheus Operator Helm Chart with Additional Scrape Configuration

"The Prometheus Operator for Kubernetes provides easy monitoring definitions for Kubernetes services and deployment and management of...