firest 085074ac41 feat(banned): kick session when it is banned by clientid %!s(int64=3) %!d(string=hai) anos
..
etc 8aa60cc0a5 feat: generate a minimized emqx.conf %!s(int64=3) %!d(string=hai) anos
i18n d6a9072bb0 chore: make spellcheck happy %!s(int64=3) %!d(string=hai) anos
include 9b61997dc0 feat(retainer): add topic indexing %!s(int64=3) %!d(string=hai) anos
src 6b0de714bc chore: bump retainer version %!s(int64=3) %!d(string=hai) anos
test 085074ac41 feat(banned): kick session when it is banned by clientid %!s(int64=3) %!d(string=hai) anos
.gitignore 56e2a9741f style: ensure newline at EOF for all files %!s(int64=4) %!d(string=hai) anos
README.md 667d66eb1e docs(README): EMQ X -> EMQX %!s(int64=4) %!d(string=hai) anos
TODO 0cd1c57a54 Migrate plugins from tag 4.2.2 %!s(int64=5) %!d(string=hai) anos
rebar.config f1acfece6b chore(retainer): reformat retainer codes %!s(int64=3) %!d(string=hai) anos

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