Table of Contents

Property MaxMsgs

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

MaxMsgs

How many messages may be in a Stream, oldest messages will be removed if the Stream exceeds this size. -1 for unlimited.

[JsonPropertyName("max_msgs")]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[Range(-9.223372036854776E+18, 9.223372036854776E+18)]
public long MaxMsgs { get; set; }

Property Value

long