emqx / emqx-plugin-template

EMQX Plugin Template and Demo
https://www.emqx.io
Apache License 2.0
73 stars 71 forks source link

feat: bump avsc and i18n example files #126

Closed JimMoen closed 5 months ago

JimMoen commented 6 months ago

CI failed temporarily, re-run failed check after emqx/emqx:v5.7.0 tagged

zmstone commented 5 months ago

Add some get_config example. Also describe config life-cycle, when is config loaded, before plugin app start/2 callback or after etc.

zmstone commented 5 months ago

the default config should continue to be hocon. Remember: hocon is super-set of JSON.

EMQX should type-check the config with avro schema if the schema exists. Otherwise just load it as-is