Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 778 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 778 Bytes

mosquitto-payload-postgres

English / 简体中文

Message persistance to postgres for mosquitto

Mosquitto payload postgres is an message persistance plugin for the Mosquitto MQTT broker, a well knwon opensource MQTT broker. It will save the message to PostgreSQL published by mqtt clients.

How-to

Copy the whole repository to mosquitto plugin source folder. If everthing goes well, just type make in the mosquitto-payload-postgres source folder.

Here a payload.conf configuration file is also provided. Copy the plugin .so and .conf file to mosquitto configuration folder. Then add configuration setup to mosquitto main configuration file.

include_dir /etc/mosquitto/conf.d