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:
committed by
gitbook-bot
parent
ea8b4087f0
commit
ab3029f361
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user