NATS Server
This tool bootstraps a NATS server/cluster for development purposes. Inspired by this repo. DO NOT USE FOR PRODUCTION
Author
Usage
Installation(downloads NATS server binary if not found in path):
yarn add -D nats-server
Test scripts:
describe"module1",
Known Issues
- does not support Windows. May work on OSX(not tested as I do not possess a Mac)
- Not fully tested yet so there may be server instances dangling around after the main process exits abnormally. Make sure you call
await server.stop()
to clean it up and checkps aux | grep nats-server
if process exits beforeserver.stop()
is resolved. - requires to open ports between 10000 and 12000. This limit is hard coded for now. Let me know if a customization is desirable.