|
|
11 лет назад | |
|---|---|---|
| apps | 11 лет назад | |
| deps | 11 лет назад | |
| doc | 11 лет назад | |
| plugins | 13 лет назад | |
| rel | 11 лет назад | |
| .gitignore | 11 лет назад | |
| CHANGELOG.md | 11 лет назад | |
| LICENSE | 11 лет назад | |
| Makefile | 11 лет назад | |
| README.md | 11 лет назад | |
| TODO | 11 лет назад | |
| rebar | 11 лет назад | |
| rebar.config | 11 лет назад |
eMQTT is a scalable, fault-tolerant and extensible mqtt broker written in Erlang/OTP.
eMQTT support MQTT V3.1 Protocol Specification.
eMQTT requires Erlang R17+.
$ git clone git://github.com/slimpp/emqtt.git
$ cd emqtt
$ make && make dist
$ cd rel/emqtt
$ ./bin/emqtt console
cp -R rel/emqtt $INSTALL_DIR
cd $INSTALL_DIR/emqtt
./bin/emqtt start
./bin/emqtt stop
......
......
eMQTT support http to publish message.
Example:
curl -v --basic -u user:passwd -d "topic=/a/b/c&message=hello from http..." -k http://localhost:8883/mqtt/publish
HTTP POST http://host:8883/mqtt/publish
| Name | Description |
|---|---|
| topic | MQTT Topic |
| message | Text Message |
The MIT License (MIT)
feng at slimchat.io