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

Spring Cloud Alibaba provides a one-stop solution for application development for the distributed solutions of Alibaba middleware.

Results 271 spring-cloud-alibaba issues
Sort by recently updated
recently updated
newest added

前些天,不小心把Fork的库删了,导致 PR #1593 无法操作了。现重新提交一次PR。 ### Describe what this PR does / why we need it optimize: alibaba-seata: Transfer XID using `feign.RequestInterceptor` ### 解决的问题: 1. 避免alibaba-seata与zipkin冲突,导致服务发现功能异常。 2. 避免alibaba-seata与zipkin重复定义了`Feign.Builder feignHystrixBuilder(BeanFactory beanFactory);` ###...

### 相关issue https://github.com/alibaba/spring-cloud-alibaba/issues/1909 ### 背景 背景见我之前提的PR:https://github.com/alibaba/spring-cloud-alibaba/pull/1915 目前该PR已被我关闭,因为我发现从feign.Client的继承体系来看,seata的实现是不合理的,所以,有了这个新的PR。 ### feign.Client的继承体系 ![image](https://user-images.githubusercontent.com/42676983/104677193-f624a280-5723-11eb-87ca-b56ca04ac6e7.png) 从继承体系上来看,feign.Client主要包含两大类: - LoadBalancerFeignClient,用于处理负载均衡策略的Client - 其他Client,用于增强的Client,即充当delegate的Client,比如上图中的TracingFeignClient、SeataFeignClient等 ### seata的定位 seata在feign.Client的继承体系中的定位是增强,具体点讲,就是在发送请求之前把事务ID带上,没有其它作用了,更不用说负载均衡的作用了。 所以,seata不应该继承LoadBalancerFeignClient,生成SeataLoadBalancerFeignClient类,而只应该保留SeataFeignClient,把SeataFeignClient加入到delegate链中就可以了。 这样就遗留了一个问题,如何才能把SeataFeignClient加入到delegate链中呢? 让我们看看`SeataFeignObjectWrapper.wrap()`方法,在这里,只要动态修改LoadBalancerFeignClient的delegate属性,把SeataFeignClient加进去就可以了,参考sleuth中的`TraceFeignObjectWrapper.wrap()`方法,我们使用反射来动态修改delegate。 ### 为什么删除SeataFeignContext和SeataContextBeanPostProcessor 我们看下SeataFeignContext的两个getInstance()方法: ```java public class SeataFeignContext extends FeignContext...

Describe what this PR does / why we need it fix #789 Unified dubbo version management 为什么spring-cloud-alibaba里要单独管理dubbo版本,而不在spring-cloud-alibaba-dependencies里统一管理? 我们应该统一在alibaba-dependencies模块中做统一管理 Does this pull request fix one issue? 是的 Fixes #789 Describe how...

### Describe what this PR does / why we need it [#1818](https://github.com/alibaba/spring-cloud-alibaba/issues/1818) [Sentinel dashboard feat #1851](https://github.com/alibaba/Sentinel/pull/1851) ### Does this pull request fix one issue? NONE ### Describe how you did...

### Describe what this PR does / why we need it `grpc-adapter` is missing from the platform dependencies. If you use `spring-cloud-alibaba-dependencies` and need the `grpc-adapter` then you need to...

### Describe what this PR does / why we need it For details, refer to the issues #1259 #1260 #753 #1253 ### Does this pull request fix one issue? ###...

dubbo

#### Initial implementation to receive requests from the gateway Added new interface class and implemented it to receive different request parameters.

Describe what this PR does / why we need it pollable message source support Does this pull request fix one issue? Fixes https://github.com/alibaba/spring-cloud-alibaba/issues/2634 Describe how you did it By registering...

### Describe what this PR does / why we need it 需求背景: OpenSergo作为微服务治理的标准和控制面,并提供SDK取对接各个框架,比如SCA 所以为支持[服务契约能力](https://github.com/alibaba/spring-cloud-alibaba/issues/2362) 先将业务进程基于grpc的协议的请求状态数据上报到管控面 该PR主要实现的是业务进程通过OpenSergo-pilot上报请求状态数据到mysql的逻辑 ![12121](https://user-images.githubusercontent.com/20021404/164952384-1a74fafd-17c6-4c0d-9f1b-2adf190965d4.png) 目前第一版先支持 1.支持Opensergo接入SCA时 请求匹配符合URL格式 2.开放Opensergo启动配置,接管管控面 通过与 @robberphex 的沟通 当该PR合并后 接入demo参考: https://github.com/robberphex/example-opensergo-sca ### Does this...