JimMoen / emqx-extension-examples

Examples for ExHook & ExProto

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 5.0:

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

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 5.1:

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

For 4.4:

Language Source
Erlang exproto-svr-erlang
Golang exproto-svr-go
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:

About

Examples for ExHook & ExProto


Languages

Language:Erlang 43.6%Language:Python 31.7%Language:Java 15.4%Language:Go 8.4%Language:Makefile 1.0%