emqx/emqx-plugin-template
Fork: 70 Star: 70 (更新于 2024-05-11 16:12:12)
license: Apache-2.0
Language: Erlang .
EMQX Plugin Template and Demo
最后发布版本: 5.1.0 ( 2023-06-21 20:44:48)
EMQX Plugin Template
This is a rebar3 template to ease creation of EMQX Plugins in Erlang.
This plugin template is for EMQX >= 5.0.
For EMQX >= 4.3, please see branch emqx-v4
For older EMQX versions, plugin development is no longer maintained.
A plugin template for Elixir (experimental) can be found at https://github.com/emqx/emqx-elixir-plugin.
Prerequisites
- A working build environment (eg
build_essential
) includingmake
- Erlang OTP 25 or newer recommended
- rebar3
Usage
$ mkdir -p ~/.config/rebar3/templates
$ pushd ~/.config/rebar3/templates
$ git clone https://github.com/emqx/emqx-plugin-template.git
$ popd
$ rebar3 new emqx-plugin my_emqx_plugin
$ make -C my_emqx_plugin rel
NOTE
If the REBAR_CACHE_DIR
environment variable has been set, the directory for templates should be $REBAR_CACHE_DIR/.config/rebar3/templates
.
Here is a relevant issue.
This will create a tarball containing your custom plugin. You can use EMQX's Dashboard or it's command line tools to deploy it into your running EMQX cluster.
See EMQX documentation for details on how to deploy custom plugins.
最近版本更新:(数据更新于 2024-05-14 07:31:36)
2023-06-21 20:44:48 5.1.0
2022-12-12 23:16:02 5.0.0
2022-06-17 17:17:23 5.0.0-rc.3
2022-05-11 23:41:45 5.0.0-rc.2
主题(topics):
emqx, emqx-plugin, plugin-demo, plugin-templates
emqx/emqx-plugin-template同语言 Erlang最近更新仓库
2024-04-18 20:16:33 emqx/emqx
2024-04-12 18:15:12 esl/MongooseIM
2021-12-17 19:39:07 emqx/ekka
2020-11-02 11:27:02 goBuildRun/buildrun-emqx-backend-mysql
1970-01-01 00:00:00 emqx/emqx-coap
1970-01-01 00:00:00 ninenines/cowlib