Table of Contents

Property Retention

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

Retention

How messages are retained in the Stream, once this is exceeded old messages are removed.

[JsonPropertyName("retention")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[Required(AllowEmptyStrings = true)]
public StreamConfigRetention Retention { get; set; }

Property Value

StreamConfigRetention