简体   繁体   中英

NATS api for creating clusters and gateways

Does NATS provide some api for managing its topology, ie create new cluster, combine it in supercluster, create gateway etc. In docs I see only file configuration, but is there another way for configuring nats?

No, there is no API to handle topology. Leveraging gossip protocol should ease the process - when adding a new node to the cluster, you don't need to alter the configuration of the current ones, nor let clients know.

https://docs.nats.io/running-a-nats-service/nats_admin/upgrading_cluster

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM