Table of Contents

Property MaxAge

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

MaxAge

Maximum age of any message in the stream, expressed in nanoseconds. 0 for unlimited.

[JsonPropertyName("max_age")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonConverter(typeof(NatsJSJsonNanosecondsConverter))]
public TimeSpan MaxAge { get; set; }

Property Value

TimeSpan