emqx/apps/emqx_exhook
Thales Macedo Garitezi ccd8a2f9d7
fixing machine boot
2021-12-19 15:23:07 -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 feat: make mix release works 2021-08-11 00:49:15 -07:00
src chore: refactor slog under emqx, conf and exhook 2021-11-22 23:12:17 +01:00
test style(behaviour attrs): unify behaviour declarations 2021-10-27 21:47:59 -07:00
.gitignore feat: sync with master 2021-09-12 15:32:03 -07:00
README.md feat: make mix release works 2021-08-11 00:49:15 -07:00
mix.exs fixing machine boot 2021-12-19 15:23:07 -03:00
mix.exs2 wip 2021-12-07 15:29:57 -03:00
rebar.config feat: make mix release works 2021-08-11 00:49:15 -07: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