Table of Contents

Class StreamPurgeRequest

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

A request to the JetStream $JS.API.STREAM.PURGE API

public record StreamPurgeRequest : IEquatable<StreamPurgeRequest>
Inheritance
StreamPurgeRequest
Implements
Inherited Members

Properties

Filter

Restrict purging to messages that match this subject

Keep

Ensures this many messages are present after the purge. Can be combined with the subject filter but not the sequence

Seq

Purge all messages up to but not including the message with this sequence. Can be combined with subject filter but not the keep option