Set Instance Attribute

Last updated: 2019-07-05 11:54:19

    1. API Description

    This API (SetInstanceAttributes) is used to set the CKafka instance attributes.

    Domain name for API request:

    2. Input Parameters

    The following request parameter list only provides API request parameters. Other parameters can be found in Common Request Parameters.

    Parameter Name Required Type Description
    instanceId Yes String Instance ID
    msgRetentionTime No Int Optional. The maximum retention time of instance log (in minute). The minimum is 1 min, and the maximum is 30 days.

    3. Example


     https://domain/v2/index.php?Action=SetInstanceAttributes&instanceId=ckafka-xxxxxx&<Common request parameters>


          "code" : 0,
          "message" : "ok",

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback