Skip to content
This repository has been archived by the owner on Dec 18, 2021. It is now read-only.

bedis/haproxy_mqtt_lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo is now deprecated since HAProxy 2.4 and above now have the same features natively integrated. 



Introduction
============

This repository contains a lua library to parse and retrieve information from a MQTT CONNECT message.
It is intentionnaly written to be used with HAProxy and may be useless outside this scope.

The code is split into 2 pieces:
1. mqtt.lua: contains the MQTT library itself
2. haproxy_mqtt.lua: creates native HAProxy features (converter, fetches, actions) that can be used in HAProxy's configuration for managing the MQTT CONNECT message

Usage
=====

* put both mqtt.lua and haproxy_mqtt.lua files in your /etc/haproxy folder or equivalent.
* update your haproxy's configuration to match your requirements. See haproxy.cfg file, it contains some use cases

About

MQTT CONNECT message parser for HAProxy, written in Lua

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages