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 stars Tracking Chart

= 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].

Main metrics

Overview
Name With Ownerhivemq/hivemq-community-edition
Primary LanguageJava
Program languageJava (Language Count: 4)
Platform
License:Apache License 2.0
所有者活动
Created At2019-04-01 15:29:54
Pushed At2025-04-26 01:32:43
Last Commit At2025-03-06 09:11:09
Release Count32
Last Release Name2025.2 (Posted on )
First Release Name2019.1 (Posted on )
用户参与
Stargazers Count1.1k
Watchers Count66
Fork Count270
Commits Count1k
Has Issues Enabled
Issues Count157
Issue Open Count27
Pull Requests Count363
Pull Requests Open Count7
Pull Requests Close Count51
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private