MQTT

Kubemq MQTT source provides a MQTT subscriber for processing MQTT's messages.

Prerequisites

The following are required to run events source connector:

  • kubemq cluster

  • kubemq-sources deployment

  • MQTT Broker

Configuration

MQTT source connector configuration properties:

Properties Key

Required

Description

Example

host

yes

mqtt connection host

"localhost:1883"

topic

yes

set mqtt subscription topic

"queue"

dynamic_mapping

yes

set if to map mqtt topic to kubemq channel

"true"

username

no

set mqtt username

"username"

password

no

set mqtt password

"password"

client_id

no

mqtt connection string address

"client_id"

qos

no

set mqtt subscription QoS

"0"

Example:

Last updated

Was this helpful?