emqx/apps/emqx_exhook
JianBo He a4d29ec8de chore(exhook): fix diaylzer warnings 2021-08-12 16:34:10 +08:00
..
docs docs(exhook): renanme CheckAcl to Authorize 2021-08-03 14:06:58 +08:00
etc feat(exhook): make request_failed_action working 2021-08-12 16:34:10 +08:00
include test(exhook): refine tests 2021-08-03 14:06:58 +08:00
priv/protos fix(exhook): BrokerInfo uptime is now a duration integer 2021-08-05 12:58:03 +02:00
src chore(exhook): fix diaylzer warnings 2021-08-12 16:34:10 +08:00
test chore(exhook): change the name to binary type 2021-08-12 16:34:10 +08:00
.gitignore refactor(exhook): adapt to the hocon schmea 2021-08-03 14:06:58 +08:00
README.md refactor(exhook): adapt to the hocon schmea 2021-08-03 14:06:58 +08:00
rebar.config test(exhook): refine tests 2021-08-03 14:06:58 +08:00

README.md

emqx_exhook

The emqx_exhook extremly enhance the extensibility for EMQ X. It allow using an others programming language to mount the hooks intead of erlang.

Feature

  • Based on gRPC, it brings a very wide range of applicability
  • Allows you to use the return value to extend emqx behavior.

Architecture

EMQ X                                      Third-party Runtime
+========================+                 +========+==========+
|    ExHook              |                 |        |          |
|   +----------------+   |      gRPC       | gRPC   |  User's  |
|   |   gPRC Client  | ------------------> | Server |  Codes   |
|   +----------------+   |    (HTTP/2)     |        |          |
|                        |                 |        |          |
+========================+                 +========+==========+

Usage

gRPC service

See: priv/protos/exhook.proto

CLI

Example

See: https://github.com/grpc-ecosystem/awesome-grpc

Thanks