camel-mqtt5-sink-kafka-connector sink configuration
Connector Description: Allows sending messages to any endpoint that supports the MQTT v5 protocol, such as a message broker.
When using camel-mqtt5-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-mqtt5-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.mqtt5sink.CamelMqtt5sinkSinkConnector
The camel-mqtt5-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 v5 compliant broker. | MEDIUM | ||
Password to use when connecting to the MQTT v5 compliant broker. | MEDIUM |
The camel-mqtt5-sink sink connector has no converters out of the box.
The camel-mqtt5-sink sink connector has no transforms out of the box.
The camel-mqtt5-sink sink connector has no aggregation strategies out of the box.