Skip to content

Modified Mosquitto MQTT broker (v1.6.x) with enhancements to support monitoring MQTT network topology, client latency, and data flow.

License

Notifications You must be signed in to change notification settings

SilverLineFramework/mosquitto-broker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eclipse Mosquitto

Mosquitto is an open source implementation of a server for version 5.0, 3.1.1, and 3.1 of the MQTT protocol. It also includes a C and C++ client library, and the mosquitto_pub and mosquitto_sub utilities for publishing and subscribing.

This repo is made with the goal to monitor and visualize connected pub/sub clients for the ARENA.

Building

Clone repo using git clone https://github.com/conix-center/mosquitto --recursive

If you are using Mac, run ./setup.sh to install dependencies and then run ./build.sh to build.

If you are using Linux, just run ./build.sh to build.

Broker and client executables will be found in the bin/ directory.

Links

See the following links for more information on MQTT:

Mosquitto project information is available at the following locations:

There is also a public test server available at https://test.mosquitto.org/

Quick start

Server can be started like so:

mosquitto -c <file>.cfg

Then use mosquitto_sub to subscribe to a topic:

mosquitto_sub -t 'test/topic' -v

And to publish a message:

mosquitto_pub -t 'test/topic' -m 'hello world'

Build Dependencies

  • c-ares (libc-ares-dev on Debian based systems) - only when compiled with make WITH_SRV=yes
  • libwebsockets (libwebsockets-dev) - enable with make WITH_WEBSOCKETS=yes
  • openssl (libssl-dev on Debian based systems) - disable with make WITH_TLS=no
  • xsltproc (xsltproc and docbook-xsl on Debian based systems) - only needed when building from git sources - disable with make WITH_DOCS=no
  • uthash / utlist - bundled versions of these headers are provided, disable their use with make WITH_BUNDLED_DEPS=no

Equivalent options for enabling/disabling features are available when using the CMake build.

Credits

Mosquitto was written by Roger Light roger@atchoo.org

Master: Travis Build Status (master) Develop: Travis Build Status (develop) Fixes: Travis Build Status (fixes)

About

Modified Mosquitto MQTT broker (v1.6.x) with enhancements to support monitoring MQTT network topology, client latency, and data flow.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 68.8%
  • Python 23.2%
  • Makefile 2.4%
  • C++ 1.7%
  • Dockerfile 1.0%
  • HTML 0.7%
  • Other 2.2%