This repository has been archived by the owner on Feb 11, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 506
Home
lifeng edited this page Mar 6, 2019
·
10 revisions
Welcome to the mosca wiki!
Mosca is a MQTT broker. That means that mosca implements the mqtt protocol, so that you can run your own mqtt server on node.js.
- MQTT 3.1 and 3.1.1 compliant.
- QoS 0 and QoS 1.
- Various storage options for QoS 1 offline packets, and subscriptions.
- As fast as it is possible.
- Usable inside ANY other node.js app.
- Supports Node.js v0.10 and v0.12.
- Supports io.js v1.x and v2.x and v3.x (please do not use v3.1.0)
Eventhough Mosca is a MQTT broker, if you need to scale it out, you need to use another broker as it does not have any clustering support in itself. Some of the brokers it supports are the following:
- Redis, a key/value store created by @antirez.
- MongoDB, a scalable, high-performance, document-oriented database.
- Mosquitto and all implementations of the MQTT protocol.
- RabbitMQ and all implementations of the AMQP protocol.
- ZeroMQ to use Mosca in a P2P fashion.
Mosca can operate BOTH as a standalone version or as a node.js modules.
To get started head right to the basic usage page.