Skip to content

maps mqtt payloads based on topic to Kafka using LeastBytes as a balancer algorithm

License

Notifications You must be signed in to change notification settings

scblur869/mqtt-to-kafka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MQTT-to-Kafka

idea behind this

To have a microservice running on the edge that subscribes to an existing MQTT broker and routes messages based on topic to a Kafka instance. Its intended to be highly performant with a tiny footprint and to run as a container.

ENV Vars to manage the service as a container

ENV TOPIC=/test/topic1
ENV QOS=0
ENV BROKER=192.168.1.30
ENV USEKAFKA=false
ENV KAFKAURL=localhost:9092,localhost:9093,localhost:9094
ENV KAFKATOPIC=/test/topic1
ENV PORT=1883
ENV USER=mqtt-user
ENV PASS=mqtt-pass
ENV CLIENTID=subscriber-x
ENV WRITESTDOUT=true

TODO

  • ADD Kafka and MQTT TLS support

About

maps mqtt payloads based on topic to Kafka using LeastBytes as a balancer algorithm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published