Skip to content

TheBeachMaster/lwmqttwebhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 or make build-mx_mac for M-series Macs.
    • Then make run

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.

About

A light-weight MQTT webhook in Go. Use this to test your MQTT broker Integration for AuthZ/AuthN and HTTP Data Bridge

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published