emqx/apps/emqx_exhook
JimMoen f25dd4b571 fix(exhook): use `lists:filter/2` to delete exhook server conf 2022-05-13 10:15:00 +08:00
..
docs feat(exhook): provide meta data in `RequestMeta` 2022-04-23 19:45:34 +08:00
etc chore(conf): EMQ X -> EMQX in conf files 2022-02-16 17:50:41 +01:00
i18n feat(exhook): add i18n support 2022-04-20 15:47:43 +08:00
include chore(exhook): reformat exhook codes 2022-04-14 14:12:34 +08:00
priv/protos feat(exhook): provide meta data in `RequestMeta` 2022-04-23 19:45:34 +08:00
src fix(exhook): use `lists:filter/2` to delete exhook server conf 2022-05-13 10:15:00 +08:00
test test(exhook): exhook config update 2022-05-05 16:24:17 +08:00
.gitignore chore(exhook): move auto generated code to specific dir 2022-04-23 19:45:34 +08:00
README.md docs(README): EMQ X -> EMQX 2022-02-15 16:19:26 +01:00
rebar.config chore(exhook): move auto generated code to specific dir 2022-04-23 19:45:34 +08:00

README.md

emqx_exhook

The emqx_exhook extremely enhance the extensibility for EMQX. It allow using an others programming language to mount the hooks instead 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