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 |
---|---|---|---|
Required The topic to send messages to Example: mytopic. | HIGH | ||
Required The URL of the broker where to establish the connection Example: tcp://mosquitto:1883. | HIGH | ||
Username to use when connecting to the MQTT broker. | MEDIUM | ||
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.