emqx/apps/emqx_exhook
Zaiming (Stone) Shi 43c900bb5a chore: rename more descriptive EQM X to EMQX 2022-02-22 11:16:38 +01:00
..
docs docs: EMQ X -> EMQX 2022-02-15 22:12:46 +01:00
etc chore: rename more descriptive EQM X to EMQX 2022-02-22 11:16:38 +01:00
include chore: update copyrights 2021-04-23 20:43:00 +02:00
priv feat(exhook): make request_failed_action working 2021-08-12 10:40:24 +08:00
src feat(exhook): make request_failed_action working 2021-08-12 10:40:24 +08:00
test feat(exhook): make request_failed_action working 2021-08-12 10:40:24 +08:00
.gitignore chore(apps): Sync again all apps 2020-12-07 21:30:21 +01:00
README.md docs(README): EMQ X -> EMQX 2022-02-15 16:15:25 +01:00
rebar.config chore(ex): update grpc to 0.6.3 2021-08-10 17:59:36 +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