Modifying RocketMQ Configurations
Function
This API is used to modify RocketMQ configurations.
URI
PUT /v2/{project_id}/rocketmq/instances/{instance_id}/configs
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details, see Obtaining a Project ID. |
instance_id |
Yes |
String |
Instance ID. |
Request Parameters
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
rocketmq_configs |
No |
Array of RocketMQConfigReq objects |
RocketMQ configuration. |
Response Parameters
None
Example Requests
Modifying RocketMQ configurations with file retention period changed to 72 hours.
PUT https://{endpoint}/v2/{project_id}/rocketmq/instances/{instance_id}/configs { "rocketmq_configs" : [ { "name" : "fileReservedTime", "value" : 72 } ] }
Example Responses
None
Status Codes
Status Code |
Description |
---|---|
204 |
Successful. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot