Retainer
Update retainer config.
put/mqtt/retainer
Request
- Base URL: https://docs.emqx.com/api/v5
- URL: https://docs.emqx.com/api/v5/mqtt/retainer
- Auth: one of:
- HTTP basic
- bearerAuth (a scheme the document does not define)
Request body
Example request
{
"msg_expiry_interval": "32s",
"msg_clear_interval": "32s",
"flow_control": {
"batch_deliver_limiter": {
"rate": "10MB",
"capacity": "100MB",
"initial": "0MB",
"client": {
"rate": "10MB",
"initial": "0MB",
"low_watermark": "0MB",
"capacity": "100MB",
"max_retry_time": "12m",
"failure_strategy": "force"
}
}
},
"max_payload_size": "32MB",
"backend": {
"index_specs": [
[
2,
4
],
[
1,
3
]
]
}
}Response
Update configs successfully.
Example response
{
"msg_expiry_interval": "32s",
"msg_clear_interval": "32s",
"flow_control": {
"batch_deliver_limiter": {
"rate": "10MB",
"capacity": "100MB",
"initial": "0MB",
"client": {
"rate": "10MB",
"initial": "0MB",
"low_watermark": "0MB",
"capacity": "100MB",
"max_retry_time": "12m",
"failure_strategy": "force"
}
}
},
"max_payload_size": "32MB",
"backend": {
"index_specs": [
[
2,
4
],
[
1,
3
]
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.