Interface PubAck

The response returned by the JetStream server when a message is added to a stream.

interface PubAck {
    domain?: string;
    duplicate: boolean;
    seq: number;
    stream: string;
}

Properties

domain?: string

The domain of the JetStream

duplicate: boolean

True if the message is a duplicate

seq: number

The sequence number of the message as stored in JetStream

stream: string

The name of the stream