ieQu1 18721d05bc Merge pull request #13526 from ieQu1/replicant-ee пре 1 година
..
README.md e0d05a02ff refactor: refine examples пре 2 година
alarm.conf.example e0d05a02ff refactor: refine examples пре 2 година
cluster-with-dns.conf.example e0d05a02ff refactor: refine examples пре 2 година
cluster-with-etcd-ssl.conf.example e0d05a02ff refactor: refine examples пре 2 година
cluster-with-etcd.conf.example e0d05a02ff refactor: refine examples пре 2 година
cluster-with-k8s.conf.example e0d05a02ff refactor: refine examples пре 2 година
cluster-with-manual.conf.example e0d05a02ff refactor: refine examples пре 2 година
cluster-with-static.conf.example e0d05a02ff refactor: refine examples пре 2 година
conn_congestion.conf.example 43705a54be docs: cosmetic changes in example config files пре 2 година
dashboard-with-http.conf.example e0d05a02ff refactor: refine examples пре 2 година
dashboard-with-https.conf.example 3c5c76fcfc refactor: simplify https listener config for dashboard пре 1 година
delayed.conf.example d7112921a6 docs: remove `enable` from config examples пре 1 година
exhook.conf.example d7112921a6 docs: remove `enable` from config examples пре 1 година
flapping_detect.conf.example d7112921a6 docs: remove `enable` from config examples пре 1 година
force_gc.conf.example d7112921a6 docs: remove `enable` from config examples пре 1 година
force_shutdown.conf.example d7112921a6 docs: remove `enable` from config examples пре 1 година
gateway.coap.conf.example 49c4ea9ae9 refactor: mvoe config examples to 'rel/config' пре 2 година
gateway.exproto.conf.example e0d05a02ff refactor: refine examples пре 2 година
gateway.lwm2m.conf.example e0d05a02ff refactor: refine examples пре 2 година
gateway.mqttsn.conf.example e0d05a02ff refactor: refine examples пре 2 година
gateway.stomp.conf.example e0d05a02ff refactor: refine examples пре 2 година
listeners.quic.conf.example 254748b54e chore: comment mountpoints to support direct copy-paste used пре 2 година
listeners.ssl.conf.example d7112921a6 docs: remove `enable` from config examples пре 1 година
listeners.tcp.conf.example 254748b54e chore: comment mountpoints to support direct copy-paste used пре 2 година
listeners.ws.conf.example d7112921a6 docs: remove `enable` from config examples пре 1 година
listeners.wss.conf.example d7112921a6 docs: remove `enable` from config examples пре 1 година
log.console.conf.example d7112921a6 docs: remove `enable` from config examples пре 1 година
log.file.conf.example d7112921a6 docs: remove `enable` from config examples пре 1 година
mqtt.conf.example 12da3c0986 feat: configurable server side message_expiry_interval пре 2 година
node.conf.example 1beda1cd11 test(mria): Remove role from the example config пре 1 година
plugins.conf.example b3074144cc chore: temporarily revert `NO_DOC` changes to fields with default value = false пре 1 година
prometheus-pushgateway.conf.example d7112921a6 docs: remove `enable` from config examples пре 1 година
prometheus.conf.example d7112921a6 docs: remove `enable` from config examples пре 1 година
psk_authentication.conf.example d7112921a6 docs: remove `enable` from config examples пре 1 година
rate_limit.conf.example 2a0f5f8ba5 chore: add rate limit example пре 2 година
retainer.conf.example d7112921a6 docs: remove `enable` from config examples пре 1 година
sys_topics.conf.example e0d05a02ff refactor: refine examples пре 2 година
sysmon.os.conf.example e0d05a02ff refactor: refine examples пре 2 година
sysmon.vm.conf.example e0d05a02ff refactor: refine examples пре 2 година

README.md

Examples

Here are examples of how to configure EMQX. The main purpose of the examples are to serve as a reference for configuration layout and syntax, but not a guide to how to configure EMQX. For more information about EMQX configuration, please refer to EMQX documentation (links below).

There are two ways to extend the configuration of EMQX:

  • By adding the configs to emqx.conf file.
  • By adding the configs to a new file and include it in emqx.conf file. For example, add include "mylisteners.conf" to emqx.conf file and add the listeners to mylisteners.conf.

EMQX configuration consists of two parts: static configs and dynamic configs.

  • Configs loaded from emqx.conf (and included files) are static configs.
  • Configs added or updated from the dashboard or CLI are dynamic configs which are synced to all nodes in the cluster and stored in the data directory on each node.

It is important to note that static configs are loaded when EMQX starts and overlays on top of the dynamic configs, to avoid confusion, it is highly recommended NOT to use the same config name for both static and dynamic configs.

Documentation

The EMQX documentation is available at www.emqx.io/docs/en/latest/.

The EMQX Enterprise documentation is available at docs.emqx.com/en/.