mqtt-kafka-connector

command module
v1.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: BSD-2-Clause Imports: 18 Imported by: 0

README

MQTT Kafka Connector

Subscribes a MQTT topic and sends each message to a Kafka topic.

Start MQTT + Kafka

make run
kafka-console-consumer -topic=mqtt -brokers=localhost:9092

Run

go run main.go \
-initial-delay=1s \
-mqtt-broker=tcp://localhost:1883 \
-mqtt-topic=mytopic/test \
-kafka-brokers=localhost:9092 \
-kafka-topic=mqtt \
-v=2

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL