.. _connect_mqtt-connector:

|kconnect-long| MQTT Connector (Source and Sink)
================================================

The MQTT connector is used to integrate with existing MQTT servers.

Install MQTT Connector
----------------------

The MQTT connector is compatible with |cp| from version 4.1 onward; prior versions will not work with this connector.

.. include:: ../includes/connector-install.rst

.. include:: ../includes/connector-install-hub.rst

.. codewithvars:: bash

   confluent-hub install confluentinc/kafka-connect-mqtt:latest

.. include:: ../includes/connector-install-version.rst

.. codewithvars:: bash

   confluent-hub install confluentinc/kafka-connect-mqtt:1.1.0-preview

--------------------------
Install Connector Manually
--------------------------

`Download and extract the ZIP file <https://www.confluent.io/connector/kafka-connect-mqtt/#download>`_ for your
connector and then follow the manual connector installation :ref:`instructions <connect_install_connectors>`.

License
-------

.. include:: ../includes/enterprise-license.rst

See :ref:`mqtt-source-connector-license-config` for license properties and :ref:`mqtt-sink-license-topic-configuration`
and :ref:`mqtt-source-license-topic-configuration` for information about the license topic.

Additional Documentation
------------------------

.. toctree::
   :maxdepth: 1

   mqtt-source-connector/index
   mqtt-sink-connector/index
   mqtt_connector_advanced_debugging
   Changelog <changelog>