nats-io / nats-server

High-Performance server for NATS.io, the cloud and edge native messaging system.
https://nats.io
Apache License 2.0
15.9k stars 1.4k forks source link

Allow opening cluster port on reload #1491

Open wallyqs opened 4 years ago

wallyqs commented 4 years ago

Feature Request

Add support to enable cluster mode when starting from standalone single server mode.

Basically going from this:

port = 4222

To this:

port = 4222

cluster {
  port = 6222
}

Use Case:

Start from single server then enabling cluster port to act as a seed.

Proposed Change:

Who Benefits From The Change(s)?

Alternative Approaches

derekcollison commented 1 year ago

This not work?