HiveMQ社区版

HiveMQ CE 是一个基于 Java 的开源 MQTT 代理,完全支持 MQTT 3.x 和 MQTT 5。它是 HiveMQ 企业连接和消息平台的基础。「HiveMQ CE is a Java-based open source MQTT broker that fully supports MQTT 3.x and MQTT 5. It is the foundation of the HiveMQ Enterprise Connectivity and Messaging Platform」

Github星跟踪图

= HiveMQ Community Edition

image:https://www.hivemq.com/img/svg/hivemq-ce.svg[HiveMQ Community ,500, align="left"]

image:https://travis-ci.com/hivemq/hivemq-community-edition.svg?token=2JEoSXzFpviQH47MBPSm&branch=master["Build Status", link="https://travis-ci.com/hivemq/hivemq-community-edition"]

HiveMQ CE is a Java-based open source MQTT broker that fully supports MQTT 3.x and MQTT 5.

It is the foundation of the HiveMQ Enterprise Connectivity and Messaging Platform and implements all MQTT features. This project is the technical core of many of the largest MQTT deployments and is now available as Open Source Software under the Apache 2 license.

  • Web Site: https://www.hivemq.com/
  • Documentation:https://github.com/hivemq/hivemq-community-edition/wiki
  • Community Forum: https://community.hivemq.com/
  • Contribution Guidelines: link:CONTRIBUTING.adoc[Contributing.adoc]
  • License: The source files in this repository are made available under the link:LICENSE[Apache License Version 2.0].

= Features

  • All MQTT 3.1, 3.1.1 and MQTT 5.0 features
  • MQTT over TCP, TLS, WebSocket and Secure WebSocket transport
  • Java Extension SDK for:
    ** Authentication
    ** Authorization
    ** Client Initializers
    ** MQTT Packet Interceptors
    ** Interacting with Publishes, Retained Messages, Clients and Subscriptions
  • Running on Windows, Linux and MacOS (Linux is recommended)

HiveMQ CE is compatible with all MQTT 3 and MQTT 5 clients, including Eclipse Paho and https://github.com/hivemq/hivemq-mqtt-client[HiveMQ MQTT Client].

= Documentation

The documentation for the HiveMQ CE can be found https://github.com/hivemq/hivemq-community-edition/wiki[here].

= HiveMQ Community Forum

The ideal place for questions or discussions about the HiveMQ Community Edition is our brand new https://community.hivemq.com/[HiveMQ Community Forum].

= How to use

== Quick start

[source,bash]

cd hivemq-ce-
./bin/run.sh

You can now connect MQTT clients to <ip address>:1883.

[CAUTION]
If you want to connect devices on external networks to HiveMQ CE, please make sure your server is reachable from those networks and the required ports (default: 1883) are accessible through your firewall.

== Nightly Builds

Just in time builds for current branches on this repository and for specific commits are available https://hivemq.github.io/nightly-builds/[here].

== Building from source

=== Prerequisites
At least Java version 11 is required to build and run HiveMQ CE.

If you are in doubt, you can check the installed Java version by entering java -version on your command line.

=== Building the binary package

Check out the git repository and build the binary package.
[source,bash]

git clone https://github.com/hivemq/hivemq-community-edition.git

cd hivemq-community-edition

./gradlew clean packaging

The package hivemq-ce-<version>.zip is created in the sub-folder build/zip/.

== Start
Unzip the created binary package

[source,bash]

cd hivemq-ce-

./bin/run.sh

For further development instructions see the link:CONTRIBUTING.adoc[contribution guidelines].

= Contributing

If you want to contribute to HiveMQ CE, see the link:CONTRIBUTING.adoc[contribution guidelines].

= License

HiveMQ Community Edition is licensed under the APACHE LICENSE, VERSION 2.0. A copy of the license can be found link:LICENSE[here].

主要指标

概览
名称与所有者hivemq/hivemq-community-edition
主编程语言Java
编程语言Java (语言数: 4)
平台
许可证Apache License 2.0
所有者活动
创建于2019-04-01 15:29:54
推送于2025-04-26 01:32:43
最后一次提交2025-03-06 09:11:09
发布数32
最新版本名称2025.2 (发布于 )
第一版名称2019.1 (发布于 )
用户参与
星数1.1k
关注者数66
派生数270
提交数1k
已启用问题?
问题数157
打开的问题数27
拉请求数363
打开的拉请求数7
关闭的拉请求数51
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?