1. StreamNative Platform
  2. Configure

Configure MoP

MQTT-on-Pulsar (MoP) is a protocol handler developed by StreamNative to natively support the MQTT protocol on the Pulsar broker. By adding the MoP protocol handler to your existing Pulsar cluster, you can now migrate your existing MQTT applications and services to Pulsar without modifying the code.

Enable MoP

This section describes how to enable MoP on StreamNative Platform.


  • sn-platform chart: 1.4.0 or higher
  • pulsar-operator chart: 0.10.0 or higher


To enable MoP within a Kubernetes cluster, you can set broker.mop.enabled and broker.mop.proxyEnabled to true in the values.yaml YAML file as follows and use the helm upgrade command to update the resource.

  1. Enable MoP.

        enabled: true
        proxyEnabled: true
  2. (Optional) If you want to enable authentication and authorization, set the broker.mop.authenticationEnabled and broker.mop.authorizationEnabled to true in the values.yaml YAML file as follows.

    MoP inherits all the authentication and authorization methods from the Pulsar broker configurations.

        enabled: true
        # -- enable token authentication
        authenticationEnabled: true
        # -- enable authorization
        authorizationEnabled: true
  3. Apply the new configuration.

    helm upgrade -f /path/to/your/values.yaml <release_name> streamnative/sn-platform -n <k8s_namespace>

Next step

Configure KoP