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

discard policy

This commit is contained in:
scottf 2021-04-19 07:45:11 -04:00
parent be6dfc4cbf
commit 470c950f3b
No known key found for this signature in database
GPG Key ID: 60CD710024BA0A9E

View File

@ -16,10 +16,10 @@ When defining Streams the items below make up the entire configuration of the se
| Item | Description |
| :--- | :--- |
| MaxAge | Maximum age of any message in the stream, expressed in nanoseconds |
| MaxBytes | How big the Stream may be, when the combined stream size exceeds this old messages are removed |
| MaxAge | Maximum age of any message in the stream, expressed in nanoseconds. |
| MaxBytes | How big the Stream may be. Adheres to Discard Policy, removing oldest or refusing new messages if the Stream exceeds this number of messages. |
| MaxMsgSize | The largest message that will be accepted by the Stream |
| MaxMsgs | How many messages may be in a Stream, oldest messages will be removed if the Stream exceeds this size |
| MaxMsgs | How many messages may be in a Stream. Adheres to Discard Policy, removing oldest or refusing new messages if the Stream exceeds this size |
| MaxConsumers | How many Consumers can be defined for a given Stream, `-1` for unlimited |
| Name | A name for the Stream that may not have spaces, tabs, period (`.`), greater than (`>`) or asterix (`*`) |
| NoAck | Disables acknowledging messages that are received by the Stream |