检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
BatchDeleteMessageDiagnosisReportsRequest request = new BatchDeleteMessageDiagnosisReportsRequest(); request.withInstanceId("{instance_id}");
ShowGroupsRequest request = new ShowGroupsRequest(); request.withInstanceId("{instance_id}"); request.withGroup("{group}");
ShowInstanceTopicDetailRequest request = new ShowInstanceTopicDetailRequest(); request.withInstanceId("{instance_id}"); request.withTopic("{topic}");
request = RestartManagerRequest() request.instance_id = "{instance_id}" response = client.restart_manager(request)
request := &model.ShowInstanceUsersRequest{} request.InstanceId = "{instance_id}" response, err := client.ShowInstanceUsers(request) if
REGION>")) \ .build() try: request = BatchRestartOrDeleteInstancesRequest() request.body = BatchRestartOrDeleteInstanceReq(
REGION>")) \ .build() try: request = CreateDeleteConnectorOrderRequest() request.body = ConnectorOrderRequestBody(
build(); SendKafkaMessageRequest request = new SendKafkaMessageRequest(); request.withInstanceId("{instance_id}");
request = ShowCoordinatorsRequest() request.instance_id = "{instance_id}" response = client.show_coordinators(request)
request = ShowKafkaTagsRequest() request.instance_id = "{instance_id}" response = client.show_kafka_tags(request)
request.withBody(body); try { UpdateSinkTaskQuotaResponse response = client.updateSinkTaskQuota(request);
build(); ShowDiagnosisPreCheckRequest request = new ShowDiagnosisPreCheckRequest(); request.withInstanceId("{instance_id}");
ListInstanceConsumerGroupsRequest request = new ListInstanceConsumerGroupsRequest(); request.withInstanceId("{instance_id}");
build(); ListBackgroundTasksRequest request = new ListBackgroundTasksRequest(); request.withInstanceId("{instance_id}");
ListMessageDiagnosisReportsRequest request = new ListMessageDiagnosisReportsRequest(); request.withInstanceId("{instance_id}");
build(); ShowInstanceConfigsRequest request = new ShowInstanceConfigsRequest(); request.withInstanceId("{instance_id}");
build(); ShowInstanceMessagesRequest request = new ShowInstanceMessagesRequest(); request.withInstanceId("{instance_id}");
build() try: request = ShowKafkaProjectTagsRequest() response = client.show_kafka_project_tags(request) print(response)
3,重试间隔retry.backoff.ms=1000。 request.timeout.ms 30000 结合实际业务调整 设置一个请求最大等待时间(单位为ms),超过这个时间则会抛Timeout异常。 超时时间如果设置大一些,如127000(127秒),高并发的场景中,能减少发送失败的情况。
build(); ShowSinkTaskDetailRequest request = new ShowSinkTaskDetailRequest(); request.withTopicInfo(ShowSinkTaskDetailRequest.TopicInfoEnum