MyGit

emqx/emqx-retainer

Fork: 22 Star: 21 (更新于 2024-12-07 15:11:11)

license: Apache-2.0

Language: Erlang .

EMQX Retainer

官方网址 GitHub网址

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

EMQX Team

最近版本更新:(数据更新于 2024-09-07 11:26:41)

主题(topics):

emqx-retainer, mqtt, mqtt-broker

emqx/emqx-retainer同语言 Erlang最近更新仓库

2024-12-05 23:56:16 emqx/emqx

2024-04-12 18:15:12 esl/MongooseIM

2023-06-21 20:44:48 emqx/emqx-plugin-template

2021-12-17 19:39:07 emqx/ekka

2020-11-02 11:27:02 goBuildRun/buildrun-emqx-backend-mysql

1970-01-01 00:00:00 emqx/emqx-rule-engine