emqx/rel/config/examples
Shawn 12da3c0986 feat: configurable server side message_expiry_interval 2024-01-29 17:29:52 +08:00
..
README.md refactor: refine examples 2023-06-27 14:23:18 +02:00
alarm.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
cluster-with-dns.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
cluster-with-etcd-ssl.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
cluster-with-etcd.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
cluster-with-k8s.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
cluster-with-manual.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
cluster-with-static.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
conn_congestion.conf.example docs: cosmetic changes in example config files 2023-06-27 14:23:18 +02:00
dashboard-with-http.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
dashboard-with-https.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
delayed.conf.example refactor: mvoe config examples to 'rel/config' 2023-06-27 14:23:18 +02:00
exhook.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
flapping_detect.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
force_gc.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
force_shutdown.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
gateway.coap.conf.example refactor: mvoe config examples to 'rel/config' 2023-06-27 14:23:18 +02:00
gateway.exproto.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
gateway.lwm2m.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
gateway.mqttsn.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
gateway.stomp.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
listeners.quic.conf.example chore: comment mountpoints to support direct copy-paste used 2023-09-01 13:50:38 +08:00
listeners.ssl.conf.example fix(config-examples): fix bad configs 2023-06-27 14:23:18 +02:00
listeners.tcp.conf.example chore: comment mountpoints to support direct copy-paste used 2023-09-01 13:50:38 +08:00
listeners.ws.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
listeners.wss.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
log.console.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
log.file.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
mqtt.conf.example feat: configurable server side message_expiry_interval 2024-01-29 17:29:52 +08:00
node.conf.example fix(config-examples): fix bad configs 2023-06-27 14:23:18 +02:00
plugins.conf.example fix(config-examples): fix bad configs 2023-06-27 14:23:18 +02:00
prometheus-pushgateway.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
prometheus.conf.example feat: add prometheus.push_gateway.enable config 2023-11-17 09:48:39 +08:00
psk_authentication.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
rate_limit.conf.example chore: add rate limit example 2023-08-11 13:51:21 +08:00
retainer.conf.example chore(example): add `msg_expiry_interval` into `retainer` example 2023-08-07 11:56:12 +08:00
sys_topics.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
sysmon.os.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00
sysmon.vm.conf.example refactor: refine examples 2023-06-27 14:23:18 +02:00

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/.