xk6-mqtt
    Preparing search index...

    Interface PublishOptions

    Options for publishing MQTT messages.

    interface PublishOptions {
        qos?: QoS;
        retain?: boolean;
        tags?: Record<string, string>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    qos?: QoS

    Quality of Service level for the message (default: 0)

    retain?: boolean

    Whether the message should be retained by the broker (default: false)

    tags?: Record<string, string>

    Optional tags for metrics and logging.