emqx/apps/emqx_exhook
Zaiming (Stone) Shi 14ba75502f chore: update copyright year 2023-01-02 14:54:38 +01:00
..
docs chore: sync diverged modules modules from ee back to ce 2022-10-05 14:59:18 -03:00
etc Merge branch 'main-v4.4' into copy-of-main-v4.3 2022-06-27 21:34:11 +08:00
include chore: update copyright year 2023-01-02 14:54:38 +01:00
priv chore: update copyright year 2023-01-02 14:54:38 +01:00
src chore: update copyright year 2023-01-02 14:54:38 +01:00
test chore: update copyright year 2023-01-02 14:54:38 +01:00
.gitignore feat(exhook): add field `meta` for grpc proto 2022-04-07 17:26:59 +08:00
README.md docs(README): EMQ X -> EMQX 2022-02-15 16:15:25 +01:00
rebar.config fix: update grpc deps & deps in root rebar.config 2022-06-16 10:49:53 +08:00

README.md

emqx_exhook

The emqx_exhook extremly enhance the extensibility for EMQX. 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

EMQX                                      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