emqx/apps/emqx_exhook
Ilya Averyanov e37ecc10a6 style(behaviour attrs): unify behaviour declarations 2021-10-21 15:10:59 +03:00
..
docs docs(exhook): renanme CheckAcl to Authorize 2021-08-03 14:06:58 +08:00
etc refactor(config): replace all ':' with '=' in the *.conf (#5531) 2021-08-19 19:57:42 +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 emqx_conf (#5939) 2021-10-21 18:08:51 +08:00
test style(behaviour attrs): unify behaviour declarations 2021-10-21 15:10:59 +03: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