Light-weight MQTT Webhook
A 0-dependency MQTT Webhook.
Why do I need this?
This became super useful in troubleshooting Authentication(AuthN), Authorization(AuthZ) and Data Ingestion issues I was having with emqx
How do I use it?
- Run it;
go run main.go
or - Build it;
make build
for Linux(x86),make build-mac
for Intel-based Macs ormake build-mx_mac
for M-series Macs.- Then
make run
- Then
You can also make live changes (if not using Docker) by launching air within this directory.
Have you run into some weird null ptrs??? Oh no!! 🫢😱
Run
go run main.go
and pipe to panic parse like so
go run main.go &| panicparse
Server is running on port 8044
.
Now you can configure your Auth rules as needed:
- Authz
/authz
- Authn
/authn
- Data sink
/sink
Disclaimer
- Make sure you are familiar with the License to which this software is distributed under
- Maybe don't run this in production, it's for troubleshooting only.