gossipd

command module
v0.0.0-...-01fdce4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2019 License: BSD-3-Clause Imports: 7 Imported by: 0

README

#What is Gossipd?# Gossipd is an implementation of MQTT 3.1 broker written in Go. MQTT is an excellent protocol for mobile messaging. Facebook built the new Facebook Messager with MQTT.

#What is Gossipd for?# The main reason I'm writing this is because all major open source MQTT brokers, like Mosquitto, didn't balance well between scalability and ease of use.

Gossipd should be considered when the 'select' based Mosquitto can't meet your scale requirement, yet only the 'basic' part(see Not supported features for detail) of MQTT is needed in your project. Gossipd is built with performance at heart.

#Usage# To use Gossipd, run:

go run gossipd

The broker will start and listen on port 1883 for MQTT traffic. Command line flags:

  • -p PORT: specify MQTT broker's port, default is 1883
  • -r PORT: specify Redis's port, default is 6379
  • -d: when set comprehensive debugging info will be printed, this may significantly harm performance.

#Dependency#

#Not supported features#

  • QOS level 2 is not supported. Only support QOS 1 and 0.

  • Topic wildcard is not supported. Topic is always treated as plain string.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL