Go to file
JianBo He 59c1b0d16e chore: update changes 2022-10-12 10:06:35 +08:00
.ci chore: add git commit hook for git-blame-ignore-revs 2022-09-23 12:37:07 +08:00
.github build: extract macos packaging into reusable action 2022-09-19 19:25:27 +02:00
apps refactor: more rigorous checking of flapping to improve stability of the system 2022-10-12 10:03:47 +08:00
bin chore: stat to resolve script dir on macos and realpath otherwise 2022-10-05 11:39:07 +02:00
deploy docs: remove port 8081 2022-10-05 17:15:19 +02:00
lib-ee chore: unify default license references in fn 2022-09-14 17:26:48 -03:00
rel docs: add a string value quote example 2022-09-27 09:02:49 +02:00
scripts build: check if quicer binary present before trying to sign it 2022-10-07 09:50:25 +02:00
.editorconfig add editorconfig for emqx 2018-09-03 14:03:20 +08:00
.formatter.exs style(format): format elixir files 2021-12-27 10:51:12 -03:00
.gitattributes chore: add a pre-commit hook to auto format erlang code 2022-04-27 08:01:55 +02:00
.gitignore fix(auth): use empty strings for absent placeholder values 2022-09-20 15:20:55 +03:00
.tool-versions ci: use emqx-builder 5.0-16 2022-06-06 10:54:26 +02:00
APL.txt chore: add BSL.txt 2021-12-29 13:35:49 +01:00
CHANGES-5.0.md chore: update changes 2022-10-12 10:06:35 +08:00
CONTRIBUTING.md style: ensure newline at EOF for all files 2021-11-04 14:40:14 +01:00
Dockerfile.ubuntu20.04.runner docs: remove port 8081 2022-10-05 17:15:19 +02:00
Dockerfile.ubuntu20.04.runner.dockerignore test: Dockerfile:s to build test images 2022-06-12 20:18:48 +02:00
LICENSE chore: Update license file 2022-07-10 10:01:01 +02:00
Makefile chore: bump dsahboard vsn 2022-09-16 19:18:56 +08:00
NOTICE docs: More EMQ X -> EMQX rename in descriptive strings 2022-02-15 22:39:11 +01:00
PLUGIN.md docs: More EMQ X -> EMQX rename in descriptive strings 2022-02-15 22:39:11 +01:00
README-CN.md docs: remove port 8081 2022-10-05 17:15:19 +02:00
README-JP.md chore: `EMQ X` -> `EMQX` in icons 2022-07-25 15:13:04 +08:00
README-RU.md docs: remove port 8081 2022-10-05 17:15:19 +02:00
README.md docs: remove port 8081 2022-10-05 17:15:19 +02:00
Windows.md docs: add a note to Windows.md 2022-07-19 09:01:04 +02:00
build feat(mix): set `snk_kind` from `$kind` to `msg` in Mix build 2022-09-26 16:26:16 -03:00
elvis.config feat(rule_engine): add jq function to the rule engine 2022-05-04 17:09:16 +02:00
git-blame-ignore-revs chore(ignore-file): delete error commit hash 2022-04-28 14:38:32 +08:00
mix.exs Merge tag 'v5.0.8' into merge-release-v5.0.8-into-master 2022-09-23 16:06:44 +08:00
pkg-vsn.sh chore: respect PKG_VSN in pkg-vsn.sh 2022-10-03 20:02:14 +02:00
rebar.config Merge tag 'v5.0.8' into merge-release-v5.0.8-into-master 2022-09-23 16:06:44 +08:00
rebar.config.erl feat(rule engine jq function): config for changing implementation 2022-09-22 09:02:30 +02:00

README.md

EMQX

GitHub Release Build Status Coverage Status Docker Pulls Slack Discord Twitter YouTube

English | 简体中文 | 日本語 | русский

EMQX is the most scalable and popular open-source MQTT broker with a high performance that connects 100M+ IoT devices in 1 cluster at 1ms latency. Move and process millions of MQTT messages per second.

The EMQX v5.0 has been verified in test scenarios to scale to 100 million concurrent device connections, which is a critically important milestone for IoT designers. It also comes with plenty of exciting new features and huge performance improvements, including a more powerful rule engine, enhanced security management, Mria database extension, and much more to enhance the scalability of IoT applications.

During the last several years, EMQX has gained popularity among IoT companies and is used by more than 20,000 global users from over 50 countries, with more than 100 million IoT device connections supported worldwide.

For more information, please visit EMQX homepage.

Get Started

EMQX Cloud

The simplest way to set up EMQX is to create a managed deployment with EMQX Cloud. You can try EMQX Cloud for free, no credit card required.

Run EMQX using Docker

docker run -d --name emqx -p 1883:1883 -p 8083:8083 -p 8084:8084 -p 8883:8883 -p 18083:18083 emqx/emqx:latest

Next, please follow the getting started guide to tour the EMQX features.

Run EMQX cluster on kubernetes

For details: EMQX Operator.

More installation options

If you prefer to install and manage EMQX yourself, you can download the latest version from www.emqx.io/downloads.

For more installation options, see the EMQX installation documentation.

Documentation

The EMQX documentation is available at www.emqx.io/docs/en/latest/.

The EMQX Enterprise documentation is available at docs.emqx.com/en/.

Contributing

Please see our contributing.md.

For more organised improvement proposals, you can send pull requests to EIP.

Get Involved

Resources

  • MQTT client programming

    A series of blogs to help developers get started quickly with MQTT in PHP, Node.js, Python, Golang, and other programming languages.

  • MQTT SDKs

    We have selected popular MQTT client SDKs in various programming languages and provided code examples to help you quickly understand the use of MQTT clients.

  • MQTT X

    An elegant cross-platform MQTT 5.0 client tool that provides desktop, command line, and web to help you develop and debug MQTT services and applications faster.

  • Internet of Vehicles

    Build a reliable, efficient, and industry-specific IoV platform based on EMQ's practical experience, from theoretical knowledge such as protocol selection to practical operations like platform architecture design.

Build From Source

The master branch is for the latest version 5 release, checkout branch main-v4.3 for version 4.3 and main-v4.4 for version 4.4.

EMQX requires OTP 22 or 23 for version 4.3, and OTP 24 for 4.4 and 5.0.

git clone https://github.com/emqx/emqx.git
cd emqx
make
_build/emqx/rel/emqx/bin/emqx console

For 4.2 or earlier versions, release has to be built from another repo.

git clone https://github.com/emqx/emqx-rel.git
cd emqx-rel
make
_build/emqx/rel/emqx/bin/emqx console

Building on Apple silicon (M1, M2)

Homebrew on Apple silicon changed default location of it's home directory from /usr/local to /opt/homebrew and as a result a few things broke in the process.

Concerning EMQX, when you install unixodbc package (one of the dependencies) via Homebrew, and build Erlang/OTP with kerl, kerl will not be able to find unixodbc.

Here is how to solve it:

brew install unixodbc kerl
sudo ln -s $(realpath $(brew --prefix unixodbc)) /usr/local/odbc
export CC="/usr/bin/gcc -I$(brew --prefix unixodbc)/include"
export LDFLAGS="-L$(brew --prefix unixodbc)/lib"
kerl build 24.3
mkdir ~/.kerl/installations
kerl install 24.3 ~/.kerl/installations/24.3
. ~/.kerl/installations/24.3/activate

Then you can proceed with make.

License

See LICENSE.