1
0
mirror of https://github.com/taigrr/nats.docs synced 2025-01-18 04:03:23 -08:00

GitBook: [master] 2 pages modified

This commit is contained in:
Ginger Collison 2021-03-15 14:15:31 +00:00 committed by gitbook-bot
parent ea8b4087f0
commit ab3029f361
No known key found for this signature in database
GPG Key ID: 07D2180C7B12D0FF
2 changed files with 3 additions and 3 deletions

View File

@ -114,7 +114,7 @@
* [Concepts](jetstream/concepts/README.md)
* [Streams](jetstream/concepts/streams.md)
* [Consumers](jetstream/concepts/consumers.md)
* [Configuration](jetstream/concepts/configuration.md)
* [Example Configuration](jetstream/concepts/configuration.md)
* [Getting Started](jetstream/getting_started/README.md)
* [Using Docker](jetstream/getting_started/using_docker.md)
* [Using Docker with NGS](jetstream/getting_started/using-docker-with-ngs.md)

View File

@ -1,6 +1,6 @@
# Configuration
# Example Configuration
The rest of this document introduces the `nats` utility, but for completeness and reference this is how you'd create the ORDERS scenario. We'll configure a 1 year retention for order related messages:
[Addition documentation](../clustering/administration.md) introduces the `nats` utility, but for completeness and reference this is how you'd create the ORDERS scenario. We'll configure a 1 year retention for order related messages:
```bash
$ nats str add ORDERS --subjects "ORDERS.*" --ack --max-msgs=-1 --max-bytes=-1 --max-age=1y --storage file --retention limits --max-msg-size=-1 --discard=old