emqx/apps/emqx_retainer
Thales Macedo Garitezi 4880a849b9 chore: update emqtt -> 1.8.5
Needed for OCSP / CRL tests because of a bug that makes emqtt hang
forever on TLS handshake errors.
2023-03-14 16:08:47 -03:00
..
etc feat: generate a minimized emqx.conf 2022-05-31 19:20:27 +08:00
i18n ci: add i18n style check script 2023-02-09 11:41:52 +01:00
include chore: update copyright year 2023 2023-01-02 09:22:27 +01:00
src chore(mria): Bump version to 0.4.0 2023-03-11 00:37:25 +01:00
test fix: speed up banned test cases 2023-01-26 13:04:55 +08:00
.gitignore style: ensure newline at EOF for all files 2021-11-04 14:40:14 +01:00
README.md docs(README): EMQ X -> EMQX 2022-02-15 16:19:26 +01:00
TODO refactor(proj): Add apps 2020-12-04 22:11:53 +01:00
rebar.config chore: update emqtt -> 1.8.5 2023-03-14 16:08:47 -03:00

README.md

EMQX Retainer

The retainer plugin is responsible for storing retained MQTT messages.

Configuration

etc/emqx_retainer.conf:

## Where to store the retained messages.
## Notice that all nodes in a cluster are to have the same storage_type.
##
## Value: ram | disc
##  - ram: memory only
##  - disc: both memory and disc
##
## Default: ram
retainer.storage_type = ram

## Maximum number of retained messages allowed.
##
## Value: Number >= 0
retainer.max_retained_messages = 1000000

## Maximum payload size of a retained message.
##
## Value: Bytes
retainer.max_payload_size = 64KB

## Expiration interval of the retained messages. Never expire if the value is 0.
##
## Value: Duration
##  - h: hour
##  - m: minute
##  - s: second
##
## Examples:
##  - 2h:  2 hours
##  - 30m: 30 minutes
##  - 20s: 20 seconds
##
## Default: 0
retainer.expiry_interval = 0

License

Apache License Version 2.0

Author

EMQX Team