Querying Kafka Instance Rebalancing Log Details
Function
This API is used to query rebalancing log details of a Kafka instance.
Calling Method
For details, see Calling APIs.
URI
GET /v2/kafka/{project_id}/instances/{instance_id}/log/rebalance-log
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
None
Response Parameters
Status code: 200
Parameter |
Type |
Description |
---|---|---|
id |
String |
Log ID. |
instanceId |
String |
Instance ID. |
status |
String |
Status. |
logStreamId |
String |
Log stream ID. |
logGroupId |
String |
Log group ID. |
dashboardId |
String |
Dashboard ID. |
createAt |
String |
Creation time. |
updateAt |
String |
Update time. |
Example Requests
GET https://{endpoint}/v2/kafka/{project_id}/instances/{instance_id}/log/rebalance-log
Example Responses
Status code: 200
Successful
{ "id" : "b430433d91233c4901919d27719d0a72", "instanceId" : "2150dbb7-41a1-4265-9470-92ffd8790079", "status" : "OPEN", "logStreamId" : "2150dbb7-41a1-4265-9470-92ffd8790079", "logGroupId" : "d2388290-d99b-4903-9436-6d98aea40faf", "dashboardId" : null, "createAt" : 1724918488060, "updateAt" : 1724918488060 }
Status code: 400
Invalid request parameter.
{ "error_code" : "DMS.00400800", "error_message" : "Invalid parameters in the request." }
Status Codes
Status Code |
Description |
---|---|
200 |
Successful |
400 |
Invalid request parameter. |
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