Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supersede "NATS Streaming Server" with Jetstream #6

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ You're ready to start integrating NATS messaging into your other Fly application

## What to try next

1. [NATS streaming](https://docs.nats.io/nats-streaming-concepts/intro) offers persistence features, you can create a NATS streaming app by modifying this demo and adding volumes: `flyctl volume create`
1. [NATS Jetstream](https://docs.nats.io/nats-concepts/jetstream/js_walkthrough) offers persistence features, you can create [Streams](https://docs.nats.io/nats-concepts/jetstream/streams), [Consumers](https://docs.nats.io/nats-concepts/jetstream/consumers), [KV Stores](https://docs.nats.io/nats-concepts/jetstream/key-value-store), and [Object Stores](https://docs.nats.io/nats-concepts/jetstream/obj_store) items in a Jetstream Enabled NATS cluster. This example converges Jetstream when `fly scale count 3`, or `fly scale count 5`. By default Jetstream will store data in an instances ephemeral storage which is fine for simple testing. For anything more than "hello world" testing it is critical to modify this demo by adding persistent storage volumes for all instances of nats-server with `flyctl volume create` and map your named volumes to the path `/tmp/nats`.

2. Create a [NATS super cluster](https://docs.nats.io/nats-server/configuration/gateways) let you join multiple NATS clusters with gateways. If you want to run regional clusters, you can query the Fly DNS service to with `<region>.<app-name>.internal` to find server in specific regions.

Expand Down