xk6-mqtt
    Preparing search index...

    Interface ClientOptions

    Options for creating a new MQTT client.

    interface ClientOptions {
        clientId?: string;
        credentials_provider?: CredentialsProvider;
        password?: string;
        tags?: Record<string, string>;
        username?: string;
        will?: Will;
    }

    Hierarchy (View Summary)

    Index

    Properties

    clientId?: string

    Client identifier (must be unique per broker connection).

    credentials_provider?: CredentialsProvider

    Provider for MQTT client credentials.

    password?: string

    The password required by your broker, if any.

    tags?: Record<string, string>

    Optional tags for metrics and logging.

    username?: string

    The username required by your broker, if any.

    will?: Will

    Last Will and Testament message.