spring-cloud-huawei icon indicating copy to clipboard operation
spring-cloud-huawei copied to clipboard

Spring Cloud Huawei is a framework that makes it easier and productive to develop microservices with Spring Cloud.

Results 14 spring-cloud-huawei issues
Sort by recently updated
recently updated
newest added

**Is your feature request related to a problem? Please describe.** A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] **Describe the solution you'd...

场景: 部署3个服务,客户端consumer,服务端provider1、provider2,均设置无损下线waitTimeForShutDownInMillis时间为15000ms,provider2正常下线,一直压测请求客户端。 现象: 客户端consumer在waitTimeForShutDownInMillis时间后,本地实例更新打印Instance changed event事件日志,还能请求到已下线的provider2。 日志: 2024-03-05 10:42:18.637 INFO 63392 --- [-discovery-task] o.a.s.s.c.client.ServiceCenterDiscovery : Instance changed event, current: revision=2b863900874b21f5992b0787e5ea1fcb51caaa8c, instances=rest://10.37.110.162:8085|basic-provider|#; origin: revision=f16c617ab3a4052d3b385d572255f5fc7ae192f6, instances=rest://10.37.110.162:8088|basic-provider|rest://10.37.110.162:8085|basic-provider|#; appId=basic-application, serviceName=basic-provider 2024-03-05 10:42:43.772 ERROR 63392...

new feature
2021.0.x
2022.0.x
2023.0.x

**Describe the bug** A clear and concise description of what the bug is. 原来用的是Spring 企业版,要迁移到spring-cloud-huawei,这个过程都需要做哪些内容?有没有具体的解决方案?多谢! **To Reproduce** Sample code: **Expected behavior** A clear and concise description of what you expected...

**Is your feature request related to a problem? Please describe.** add documents for identifier based rate limiting **Describe the solution you'd like** **Describe alternatives you've considered** **Additional context**

目前在用1.5.6-Hoxton版,注册服务时,加入定制serviceId,而不是随机生成。 com.huaweicloud.servicecomb.discovery.discovery.MicroserviceHandler.java public static Microservice createMicroservice(ServiceCombDiscoveryProperties serviceCombDiscoveryProperties) { ... if (!StringUtils.isEmpty(serviceCombDiscoveryProperties.getServiceId())) { microservice.setServiceId(serviceCombDiscoveryProperties.getServiceId()); } ... }

enhancement

这对放弃bootstrap配置文件的项目太不友好了。 对于老项目完全可以加spring.cloud.bootstrap.enabled=true启动参数或环境变量来启用,而不是由框架来做这个事情

enhancement
2022.0.x

Type:UnusedPrivateField Detail:Detects when a private field is declared and/or assigned a value, but not used. Quantity: 2 Priority: Medium (3) Since: https://pmd.github.io/pmd-6.38.0/pmd_rules_java_bestpractices.html#unusedprivatefield ![image](https://user-images.githubusercontent.com/28680878/160067582-ed2df8bf-50ef-4a6d-a43e-2347d8a0445b.png)

类型:Reliance on default encoding 描述:Found a call to a method which will perform a byte to String (or String to byte) conversion, and will assume that the default platform encoding...