Table of Contents

Property Discard

Namespace
NATS.Client.JetStream.Models
Assembly
NATS.Client.JetStream.dll

Discard

When a Stream reach it's limits either old messages are deleted or new ones are denied

[JsonPropertyName("discard")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public StreamConfigDiscard Discard { get; set; }

Property Value

StreamConfigDiscard