camel-mqtt-sink-kafka-connector sink configuration

Connector Description: Allows sending messages to any endpoint that supports the MQTT protocol, such as a message broker.

When using camel-mqtt-sink-kafka-connector as sink make sure to use the following Maven dependency to have support for the connector:

<dependency>
  <groupId>org.apache.camel.kafkaconnector</groupId>
  <artifactId>camel-mqtt-sink-kafka-connector</artifactId>
  <version>x.x.x</version>
  <!-- use the same version as your Camel Kafka connector version -->
</dependency>

To use this sink connector in Kafka connect you’ll need to set the following connector.class

connector.class=org.apache.camel.kafkaconnector.mqttsink.CamelMqttsinkSinkConnector

The camel-mqtt-sink sink connector supports 4 options, which are listed below.

Name Description Default Priority

camel.kamelet.mqtt-sink.topic

Required The topic to send messages to Example: mytopic.

HIGH

camel.kamelet.mqtt-sink.brokerUrl

Required The URL of the broker where to establish the connection Example: tcp://mosquitto:1883.

HIGH

camel.kamelet.mqtt-sink.username

Username to use when connecting to the MQTT broker.

MEDIUM

camel.kamelet.mqtt-sink.password

Password to use when connecting to the MQTT broker.

MEDIUM

The camel-mqtt-sink sink connector has no converters out of the box.

The camel-mqtt-sink sink connector has no transforms out of the box.

The camel-mqtt-sink sink connector has no aggregation strategies out of the box.