Kafka Connect Azure IoT Hub consists of 2 connectors - a source connector and a sink connector. The source connector is used to pump data from Azure IoT Hub to Apache Kafka, whereas the sink connector reads messages from Kafka and sends them to IoT devices via Azure IoT Hub.
When used in tandem, the 2 connectors allow communicating with IoT devices by simply posting and reading messages to/from Kafka topics. This should make it easier for open source systems and other systems that already interface with Kafka to communicate with Azure IoT devices.
For more information on the capabilities of the connectors and how to use them, please refer to source connector and sink connector.
Use the Confluent Hub client to install this connector with:
confluent-hub install microsoft/kafka-connect-iothub:0.6
Or download the ZIP file and extract it into one of the directories that is listed on the Connect worker's plugin.path configuration properties. This must be done on each of the installations where Connect will be run. See here for more detailed instructions.
Once installed, you can then create a connector configuration file with the connector's settings, and deploy that to a Connect worker. See here for more detailed instructions.
The source code is located in this repository.
For more information, see the documentation.
Nous utilisons des cookies afin de comprendre comment vous utilisez notre site et améliorer votre expérience. Cliquez ici pour en apprendre davantage ou pour modifier vos paramètres de cookies. En poursuivant la navigation, vous consentez à ce que nous utilisions des cookies.