0008-community-plugins.md needs discuss
@z8674558
Yes, I think it's important to support and promote community plug-ins.
EMQ encourages the community to contribute useful plug-ins. If we do it well enough, we can help the author promote it.
0008 is a little simple and inflexible
- How to approve new plug-ins for the released EMQ X version
- The security of the plug-in, whether the plug-in is officially recommended by EMQ, and whether it infringes the copyright or interests of some people
- The version compatibility of the plug-in, users may ask: this plug-in is cool, but can I use it in my EMQ X?
Grafana sign-a-plugin Grafama plugins
We can build an online plug-in market, which has been discussed before, but we have encountered some technical problems.
If we can solve the problem now, the plug-in market looks very cool
- Can we provide a
*.zipfile (plugin installation package, likeemqx_auth_sqlite_plugins.zip), which contains the main*.beamfile. The user can set it to thelib/directory, unzip it, and reload it?
Usage
wget https://market.emqx.io/plugins/emqx/emqx_auth_sqlite.zip?version=1.3.1
unzip emqx_auth_sqlite.zip
mv emqx_auth_sqlite/ /opt/emqx/lib/
emqx_ctl plugins load emqx_auth_sqlite
@wivwiv
How to approve new plug-ins for the released EMQ X version
If a plugin is approved after the release of v4.3.1, for example, the plugin is listed as approved from v4.3.2.
The security of the plug-in, whether the plug-in is officially recommended by EMQ,
We can provide approved badge that can be included in README in a plugin's github repository.
and whether it infringes the copyright or interests of some people
We need to check if plug-in's dependencies have OSS licenses that allow us to use the software.
The version compatibility of the plug-in, users may ask: this plug-in is cool, but can I use it in my EMQ X?
Using CI, we ensure that approved plugins pass common tests with emqx loaded. Once passed, we can add the version information to the above-mentioned badge. We may obligate some test coverage before we approve a plugin.
We can build an online plug-in market, which has been discussed before, but we have encountered some technical problems.
Sounds nice. I am not sure if we can do it now though. Further investigation needed