All Projects → emqx → emqx-extension-examples

emqx / emqx-extension-examples

Licence: other
Examples for ExHook & ExProto

Programming Languages

erlang
1774 projects
java
68154 projects - #9 most used programming language
python
139335 projects - #7 most used programming language

emqx-extension-examples

This repository only includes examples of some common programming languages for emqx-exhook and emqx-exproto.

We are pleased to welcome contributions of examples for other programming languages

emqx-exhook

For 4.4:

Language Source
Erlang exhook-svr-erlang
Golang exhook-svr-go
Java exhook-svr-java
Python exhook-svr-python

For 4.3:

Language Source
Erlang exhook-svr-erlang
Golang exhook-svr-go
Java exhook-svr-java
Python exhook-svr-python

emqx-exproto

For 4.4:

Language Source
Erlang exproto-svr-erlang
Golang -
Java exproto-svr-java
Python exproto-svr-python

For 4.3:

Language Source
Erlang exproto-svr-erlang
Golang -
Java exproto-svr-java
Python exproto-svr-python

For Legacy Version

First, we recommend using exhook/exproto on emqx 4.3+ instead of 4.2

If you are looking for the exhook/exproto example codes on emqx 4.2, you should first understand the following notes.

Enterprise Edition

We started introducing grpc as an implementation of exhook and exproto in the enterprise version of e4.2.5. However, due to some early design issues, exproto has some incompatible designs.

So if you are on Enterprise version 4.2.5 or higher and below 4.3.0, the exproto example should refer to:

For exproto on e4.2.5+:

Language Source
Golang -
Java exproto-svr-java
Python -

emqx-exhook

exhook is compatible with 4.2.5 + and 4.3.x, so you can use the 4.3.x example program directly.

OpenSource Edition

The open source version in 4.2.x uses erlport as the underlying driver instead of grpc. If you are using exproto and exhook based on the open source version 4.2.x, please refer to:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].