Skip to content

emqx/emqx-extension-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a5958ae · Mar 10, 2025

History

78 Commits
Jun 26, 2023
Mar 6, 2025
Mar 6, 2025
Mar 6, 2025
Mar 6, 2025
Mar 6, 2025
Dec 3, 2021
Jun 15, 2023
Jun 26, 2023
Jun 26, 2023
Jun 26, 2023
Jun 25, 2023
Jun 26, 2023

Repository files navigation

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: