Setu-TS
    Preparing search index...

    Interface MessageMetadata

    Transport metadata accompanying a delivered message.

    0.1.0

    interface MessageMetadata {
        headers?: Readonly<Record<string, string>>;
        messageId?: string;
        timestamp?: Date;
        topic: string;
    }
    Index
    headers?: Readonly<Record<string, string>>

    Transport headers read from the delivered message. First-party brokers populate this with {} when their transport carried no headers.

    messageId?: string

    Broker-assigned message ID, when available.

    timestamp?: Date

    Delivery timestamp, when available.

    topic: string

    The topic the message arrived on.