-
SpringCloud应用通过SpringCloudHuawei SDK接入ServiceComb引擎 - 微服务引擎 CSE
在下载到本地的demo源码目录下,分别找到“\basic\consumer\src\main\resources\bootstrap.yml”和“\basic\provider\src\main\resources\bootstrap.yml”文件。 添加ServiceComb引
-
错误注入 - 微服务引擎 CSE
成错误注入模块,启用fault-injection-consumer处理链。 servicecomb: handler: chain: Consumer: default: loadbalance,fault-injection-consumer
-
创建引擎过程中处理接入地址步骤失败,提示the subnet could not be found - 微服务引擎 CSE
"error_message":"{"code":"VPC.0202","message":"Query resource by id xxx fail.the subnet could not be found."}"} 问题原因 用户的项目未对CSE云服务进行委托授权。 解决方案 当
-
查询微服务契约 - 微服务引擎 CSE
errorMessage String 错误信息。 detail String 详细定位信息。 状态码: 500 表6 响应Body参数 参数 参数类型 描述 errorCode String 错误代码。 errorMessage String 错误信息。 detail String 详细定位信息。 请求示例
-
修改微服务契约 - 微服务引擎 CSE
errorMessage String 错误信息。 detail String 详细定位信息。 状态码: 500 表5 响应Body参数 参数 参数类型 描述 errorCode String 错误代码。 errorMessage String 错误信息。 detail String 详细定位信息。 请求示例
-
托管Kitex应用 - 微服务引擎 CSE
error) { resp = &api.Response{ Message: req.Message, } return } func main() { // **初始化ServiceComb注册中心,默认从环境变量读取配置** r, err := registry.NewDefaultSCRegistry()
-
限流 - 微服务引擎 CSE
启用qps-flowcontrol-provider处理链。 配置示例如下: servicecomb: handler: chain: Provider: default: qps-flowcontrol-provider 在POM中添加如下依赖:
-
Spring Cloud应用快速接入Nacos引擎 - 微服务引擎 CSE
ing-cloud-discovery-example\nacos-spring-cloud-consumer-example\src\main\resources”添加“bootstrap.properties”文件,配置Naocs配置中心: spring.cloud.nacos
-
删除插件 - 微服务引擎 CSE
响应Body参数 参数 参数类型 描述 error_code String 错误码。 error_msg String 错误信息。 detail String 详细定位信息。 请求示例 DELETE https://{endpoint}/v2/{project_id}/engin
-
构造请求 - 微服务引擎 CSE
"password": "********", "domain": { "name": "domainname" } }
-
删除http转rpc方法 - 微服务引擎 CSE
响应Body参数 参数 参数类型 描述 error_code String 错误码。 error_msg String 错误信息。 detail String 详细定位信息。 请求示例 DELETE https://{endpoint}/v2/{project_id}/engin
-
合理配置日志文件 - 微服务引擎 CSE
publisher.defaultLog: enabled: true endpoints.client.detail.enabled: true 打开access log, 将access log输出到独立的日志文件。 格式化打印业务日志,日志里面包含trace
-
ServiceComb专享版引擎版本从1.x升级到2.x时有哪些注意事项? - 微服务引擎 CSE
refused或Connection was closed,出现错误信息示例如下: [ERROR] Config update from xxx.xxx.xxx.xx failed. Error message is [Connection refused: xxx.xxx.xxx.xx]. org.apache
-
基于CCE场景 - 微服务引擎 CSE
优雅下线能力依赖k8s的preStop机制,若您的编排文件已配置preStop,sermant-injector将无法自动配置,需要您在编排文件位置“spec > containers > lifecycle > preStop > exec > command”添加如下命令: curl -XPOST http://127
-
删除nacos命名空间 - 微服务引擎 CSE
响应Body参数 参数 参数类型 描述 error_code String 错误码。 error_msg String 错误信息。 detail String 详细定位信息。 请求示例 DELETE https://{endpoint}/v1/{project_id}/nacos
-
查询nacos命名空间 - 微服务引擎 CSE
响应Body参数 参数 参数类型 描述 error_code String 错误码。 error_msg String 错误信息。 detail String 详细定位信息。 请求示例 GET https://{endpoint}/v1/{project_id}/nacos/v1/console/namespaces
-
合理配置线程池参数 - 微服务引擎 CSE
理并返回。默认值为0。 # 高性能场景配置小的排队超时时间,快速丢弃请求 servicecomb.rest.server.requestWaitInPoolTimeout: 100 # 设置比较短的超时时间,快速丢弃请求, 但是不建议这个值小于1秒,可能导致很多问题。 servicecomb
-
查询指定微服务信息 - 微服务引擎 CSE
errorMessage String 错误信息。 detail String 详细定位信息。 状态码: 500 表8 响应Body参数 参数 参数类型 描述 errorCode String 错误代码。 errorMessage String 错误信息。 detail String 详细定位信息。 请求示例
-
创建微服务引擎专享版 - 微服务引擎 CSE
error_msg String 错误信息。 detail String 详细定位信息。 状态码: 500 表7 响应Body参数 参数 参数类型 描述 error_code String 错误码。 error_msg String 错误信息。 detail String 详细定位信息。 请求示例
-
创建微服务静态信息 - 微服务引擎 CSE
errorMessage String 错误信息。 detail String 详细定位信息。 状态码: 500 表13 响应Body参数 参数 参数类型 描述 errorCode String 错误代码。 errorMessage String 错误信息。 detail String 详细定位信息。 请求示例