A 0-dependency MQTT Webhook.
This became super useful in troubleshooting Authentication(AuthN), Authorization(AuthZ) and Data Ingestion issues I was having with emqx
- Run it;
go run main.go
or - Build it;
make build
.- Then
make run
- Then
You can also make live changes (if not using Docker) by launching air within this directory.
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
- 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.