|
@@ -1,5 +1,11 @@
|
|
|
# 适配emqx v4.3版本
|
|
|
|
|
|
+## 更新说明
|
|
|
+
|
|
|
+*v4.3.12.6*:
|
|
|
+
|
|
|
+`2022.06.16` 将原来的kafka依赖从`ekaf`替换成[kafka4beam](https://github.com/kafka4beam)/**[brod](https://github.com/kafka4beam/brod)**
|
|
|
+
|
|
|
emqx-plugin-template
|
|
|
====================
|
|
|
|
|
@@ -8,7 +14,7 @@ emqx-plugin-template
|
|
|
Plugin Config
|
|
|
-------------
|
|
|
|
|
|
-Each plugin should have a 'etc/{plugin_name}.conf|config' file to store application config.
|
|
|
+配置文件模板及说明见`etc/emqx_plugin_kafka.config`
|
|
|
|
|
|
Authentication and ACL
|
|
|
----------------------
|
|
@@ -21,18 +27,13 @@ emqx:hook('client.check_acl', fun ?MODULE:on_client_check_acl/5, [Env]).
|
|
|
Build the EMQX broker
|
|
|
-----------------
|
|
|
###### 1. 基于CentOS7.5环境下编译,先安装相关插件
|
|
|
+
|
|
|
```
|
|
|
yum -y install make gcc gcc-c++ glibc-devel glibc-headers kernel-devel kernel-headers m4 ncurses ncurses-devel openssl openssl-devel openssl-libs zlib zlib-devel libselinux-devel xmlto perl git wget
|
|
|
|
|
|
注意:openssl的版本不是1.1.1k,则需要通过源码openssl-1.1.1k.tar.gz来安装openssl
|
|
|
```
|
|
|
-###### 2. 准备Erlang/OTP R21及以上环境
|
|
|
-
|
|
|
-注:由于本插件引用的第三方依赖`ekaf`中使用了`pg2`模块,该模块在`OTP 24`及之后的版本已被官方移除,因此***请使用`OTP 24`以下的版本***。
|
|
|
-
|
|
|
-> - pg2:_/_ (this module was removed in OTP 24. Use 'pg' instead)
|
|
|
->
|
|
|
-> [Erlang -- Removed Functionality](https://www.erlang.org/doc/general_info/removed.html#otp-24)
|
|
|
+###### 2. 准备Erlang/OTP 22及以上环境
|
|
|
|
|
|
参照[Erlang and Elixir Packages Download - Erlang Solutions (erlang-solutions.com)](https://www.erlang-solutions.com/downloads/) 官网安装方式。
|
|
|
|
|
@@ -64,4 +65,6 @@ Apache License Version 2.0
|
|
|
Author
|
|
|
------
|
|
|
|
|
|
+Ultrakid.
|
|
|
+
|
|
|
EMQ X Team.
|