Turtle 41870a00b3 chore: fix emqx_retainer test cases 4 năm trước cách đây
..
etc 860aea50db chore(emqx_retainer): change config of emqx_retainer to use hocon 4 năm trước cách đây
include 9ab5c88d20 chore(retainer): Add RLOG shard 4 năm trước cách đây
src 860aea50db chore(emqx_retainer): change config of emqx_retainer to use hocon 4 năm trước cách đây
test 41870a00b3 chore: fix emqx_retainer test cases 4 năm trước cách đây
.gitignore 686c006d6e refactor(proj): Add apps 5 năm trước cách đây
README.md 0cd1c57a54 Migrate plugins from tag 4.2.2 5 năm trước cách đây
TODO 0cd1c57a54 Migrate plugins from tag 4.2.2 5 năm trước cách đây
rebar.config 455f210b4c feat(cuttlefish): use hocon as a parsing function (#4008) 5 năm trước cách đây

README.md

EMQ X 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 | disc_only
##  - ram: memory only
##  - disc: both memory and disc
##  - disc_only: disc only
##
## 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
##
## Defaut: 0
retainer.expiry_interval = 0

License

Apache License Version 2.0

Author

EMQ X Team