Property DiscardNewPerSubject
DiscardNewPerSubject
When discard policy is new and the stream is one with max messages per subject set, this will apply the new behavior to every subject. Essentially turning discard new from maximum number of subjects into maximum number of messages in a subject.
[JsonPropertyName("discard_new_per_subject")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public bool DiscardNewPerSubject { get; set; }