mqtt-kafka Binding
Bindingmqtt-kafkaproxy
mqtt-kafka Binding
Defines a binding with mqtt-kafka
support.
proxy
Behave as a mqtt-kafka
proxy
for adapting MQTT topic streams to Kafka topic streams. By configuring the Kafka topics that the proxy will use to route mqtt messages and session states an mqtt
server
binding can allow clients to connect and proxy MQTT messages onto Kafka topics.
mqtt_kafka_proxy:
type: mqtt-kafka
kind: proxy
options:
server: mqtt-1.example.com:1883
topics:
sessions: mqtt-sessions
messages: mqtt-messages
retained: mqtt-retained
clients:
- place/{identity}/#
routes:
- when:
- publish:
- topic: place/+/device/#
- subscribe:
- topic: place/+/device/#
with:
messages: mqtt-devices
exit: kafka_cache_client
exit: kafka_cache_client