Set Instance Attribute

Last updated: 2020-06-05 18:51:00


    This is a legacy API which has been hidden and will no longer be updated. We recommend using the new CKafka API 3.0 which is standardized and faster.

    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