Skip to content

Commit

Permalink
Merge pull request #102 from nats-io/kv-update-discard-etc
Browse files Browse the repository at this point in the history
document discard policy
  • Loading branch information
scottf committed Mar 9, 2022
2 parents 80d0572 + 65538bb commit bd7b70a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion adr/ADR-8.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,9 @@ A bucket is a Stream with these properties:
* Maximum value sizes can be capped using `max_msg_size`
* Maximum number of keys cannot currently be limited
* Overall bucket size can be limited using `max_bytes`
* Discard Policy is always set to `new`
* Rollup Headers is always set to `true`
* Deny Delete is always set to `true`

Here is a full example of the `CONFIGURATION` bucket:

Expand All @@ -238,7 +241,7 @@ Here is a full example of the `CONFIGURATION` bucket:
"max_age": 0,
"max_msg_size": -1,
"storage": "file",
"discard": "old",
"discard": "new",
"num_replicas": 1,
"duplicate_window": 120000000000,
"rollup_hdrs": true,
Expand Down

0 comments on commit bd7b70a

Please sign in to comment.