chore(extra-plugin): statement plugin tag

This commit is contained in:
JianBo He 2021-04-07 14:27:14 +08:00 committed by Rory Z
parent 8c1a773057
commit 6a07c8ef6d
1 changed files with 9 additions and 0 deletions

View File

@ -19,6 +19,15 @@ e.g. For an Erlang plugin named `plugin_foo`:
}.
```
Note: The `-emqx_plugin(?MODULE)` attribute should be added to
`<plugin-name>_app.erl` file to indicate that this is an EMQ X Broker plugin.
For example:
```erlang
%% plugin_foo_app.erl
-emqx_plugin(?MODULE)
```
## Build a release
```