分布式消息服务KAFKA版-实例扩容:请求示例

时间:2024-01-24 16:40:33

请求示例

  • 扩容存储空间(按需实例)。

    POST https://{endpoint}/v2/{engine}/{project_id}/instances/{instance_id}/extend
    
    {
      "oper_type" : "storage",
      "new_storage_space" : 600
    }
  • 扩容代理数量(按需实例)。

    POST https://{endpoint}/v2/{engine}/{project_id}/instances/{instance_id}/extend
    
    {
      "oper_type" : "horizontal",
      "new_storage_space" : 1600,
      "new_broker_num" : 4,
      "tenant_ips" : [ "127.0.0.1", "127.0.0.2", "127.0.0.3" ]
    }
  • 扩容代理规格(按需实例)。

    POST https://{endpoint}/v2/{engine}/{project_id}/instances/{instance_id}/extend
    
    {
      "oper_type" : "vertical",
      "new_product_id" : "c6.4u8g.cluster"
    }
support.huaweicloud.com/api-kafka/ResizeEngineInstance.html