1 Star 0 Fork 1.2K

mounb / server

forked from 野火IM / im-server 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README.md 2.53 KB
一键复制 编辑 原始数据 按行查看 历史
andsel 提交于 2019-02-24 19:38 . Updated documentation to version 0.12.1

What is Moquette?

Build Status

Moquette aims to be a MQTT compliant broker. The broker supports QoS 0, QoS 1 and QoS 2.

Its designed to be evented, uses Netty for the protocol encoding and decoding part.

Embeddable

Freedomotic Is an home automation framework, uses Moquette embedded to interface with MQTT world.

Moquette is also used into Atomize Spin a software solution for the logistic field.

Part of moquette are used into the Vertx MQTT module, into MQTT spy and into WSO2 Messge broker.

Try the demo instance

Point your browser to cloud instance, request an account then use it from your MQTT clients.

1 minute set up

Start play with it, download the self distribution tar from BinTray , the un untar and start the broker listening on 1883 port and enjoy!

tar xvf moquette-distribution-0.12.1.tar.gz
cd bin
./moquette.sh

Or if you are on Windows shell

 cd bin
 .\moquette.bat

Embedding in other projects

To embed Moquette in another maven project is sufficient to include a repository and declare the dependency:

<repositories>
  <repository>
    <id>bintray</id>
    <url>https://jcenter.bintray.com</url>
    <releases>
      <enabled>true</enabled>
    </releases>
    <snapshots>
      <enabled>false</enabled>
    </snapshots>
  </repository>
</repositories>

Include dependency in your project:

<dependency>
      <groupId>io.moquette</groupId>
      <artifactId>moquette-broker</artifactId>
      <version>0.12.1</version>
</dependency>

Build from sources

After a git clone of the repository, cd into the cloned sources and: ./gradlew clean moquette-distribution:distMoquetteTar or ./gradlew clean moquette-distribution:distMoquetteZip.

In distribution/build directory will be produced the selfcontained file for the broker with all dependencies and a running script.

Java
1
https://gitee.com/lw05/server.git
git@gitee.com:lw05/server.git
lw05
server
server
master

搜索帮助