Overview
The MQTT Output Connector enables Condense to publish Kafka events to MQTT brokers in real time. It consumes messages from Kafka topics and delivers them to MQTT topics, allowing downstream IoT devices, edge gateways, and MQTT-enabled applications to receive streaming data. The connector supports secure communication using TCP, TLS, and Mutual TLS (mTLS), configurable QoS levels, and multiple authentication mechanisms.Key Features
The MQTT Output Connector provides:- Publish Kafka events to MQTT topics
- Supports MQTT v3.1.1
- Configurable QoS levels
- TCP, One-Way TLS, and Mutual TLS support
- Username/password and certificate authentication
- JSON, String, and Binary payload support
- No-code deployment through the Condense UI
Supported Authentication
SSL/TLS Support
Supported Payload Formats
- JSON
- String
- Binary
Typical Use Cases
The MQTT Output Connector is commonly used for:- Device command delivery
- Cloud-to-device messaging
- IoT notifications
- Smart device control
- Industrial automation
- Real-time event distribution
Prerequisites
Before configuring the connector:- An accessible MQTT broker
- MQTT topic for publishing
- Kafka topic containing source messages
- Authentication credentials (if required)
- TLS certificates (if secure communication is used)
How to Configure the MQTT Output Connector
Step 1. Navigate to Connectors
- Log in to Condense.
- Navigate to Connectors.
- Click Create Connector.
- Select MQTT Output Connector.
Add Screenshot: Connector Selection
Step 2. Configure Broker Details
Provide:- Connector Name
- Broker URL
- Broker Port
- Client ID
- MQTT Publish Topic
Add Screenshot: Broker Configuration
Step 3. Configure Kafka Source
Specify:- Kafka Topic
- Payload Format
Step 4. Configure Authentication
Select:- None
- Username & Password
- Client Certificate
Step 5. Configure SSL/TLS
Choose:- TCP
- One-Way TLS
- Mutual TLS
Step 6. Configure Processing
Configure:- QoS Level
- Batch Settings (optional)
- Retry Policy
Step 7. Deploy
- Review the configuration.
- Click Deploy Connector.
- Monitor deployment from the Pipelines page.
Editing the MQTT Output Connector
- Navigate to Pipelines.
- Select the deployed MQTT Output Connector.
- Click Edit Configurations.
- Update the required settings.
- Click Deploy Connector.
Deleting the MQTT Output Connector
- Navigate to Pipelines.
- Select the connector.
- Click Delete Connector.
- Confirm deletion.
Best Practices
- Use TLS for production workloads.
- Use Mutual TLS for secure deployments.
- Select the appropriate QoS level for your use case.
- Organize MQTT topics by application or device type.
- Monitor broker availability and connector health.