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

seata 会默认启动,配置设置为false也没有效果 Seata starts by default version: springcloudalibaba:2021.0.1.0 **Describe what problem you have encountered** ![image](https://user-images.githubusercontent.com/26543986/183867692-6d2fb542-973f-4371-9527-bc00bd84a362.png) ![image](https://user-images.githubusercontent.com/26543986/183867791-337a35dd-2c85-4c68-a882-2220c8d0ac1a.png) ![image](https://user-images.githubusercontent.com/26543986/183867914-6770da60-8639-411e-b538-d749b4f0d514.png) **Describe what information you have read** eg. I have read the reference doc...

discovery version: ``` com.alibaba.cloud spring-cloud-starter-alibaba-nacos-discovery 2021.0.1.0 com.alibaba.cloud spring-cloud-alibaba-dependencies 2021.0.1.0 com.springframework.cloud spring-cloud-dependencies 2021.0.1 com.springframework.boot spring-boot-dependencies 2.6.6 ``` cloud config动态更新配置时,调用ContextRefresher#refresh NacosDiscoveryClientConfiguration类会重新初始化。 问题在每次注入的NacosServiceManager内部都是空的。这样每次都会新创建客户端,导致重复创建很多线程,之前客户端的线程也没有销毁。 ![lADPJwnIziEJGojNBG_NDo0_3725_1135 jpg_720x720q90g](https://user-images.githubusercontent.com/50773190/183813288-6d05f491-22d5-4592-bee8-dbc29a496e2d.jpg) NacosWatch在通过NacosServiceManager获取客户端内部都为空,就会再次创建NacosNamingService。 不只在NacosWatch,其他有使用到NacosServiceManager的地方都会有这个问题。

waiting for feedback

### 背景 相关议题: https://github.com/alibaba/spring-cloud-alibaba/issues/2566 目前我们需要为项目设计一套集成测试方案,为解决版本发布造成用户的issue复现困难,基于```testcontainer ```+ ```Github Action```进行测试,以便于覆盖```spring-cloud-alibaba```每次接入新组件特性时候的用例,提升项目稳定性 ### 设计方案 在社区年初的尝试当中,通过先在需要进行集成测试的类上标记 ```@HasDockerAndItEnabled``` 注解的方式 , 在Github Action当中 执行```mvn clean -Dit.enabled=true test```, 运行所有集成测试 但是这种方式在集成测试当中,无法对测试的配置初始化, bean的预加载进行准备。并且针对 ``` nacos```和 ```rocketmq ```的测试,需要保证在测试运行之前,保持相关testcontainer的测试镜像稳定运行并测试, 所以目前对于Github Action的落地有两种方案可供讨论: -...

discussion

Version:spring-boot.version:2.5.7 spring-cloud.version:2020.0.4 spring-cloud-starter-alibaba-nacos-config:2.2.0.RELEASE issue detail: 服务启动的之后的日志格式是符合预期的,但是当nacos配置更新的时候会导致我正在运行的服务logback.xml失效,导致日志格式变成了logback默认的。看了下源码发现nacos配置更新的时候会触发服务PropertySourceBootstrapConfiguration的initialize方法,而在这个方法中会重新初始化日志系统,由于我的日志配置是放在applicaiton.properties中的从而导致我自定义的logback.xml失效。想问一下这个是nacos设计之初故意这样设计的还是没考虑到的问题。 ![56439C29-09FB-41B5-BED7-09297A5D1404](https://user-images.githubusercontent.com/25626648/183840754-1fed5bb2-a2eb-4179-8008-daf9e1e2b51f.jpeg)

nacos

```xml com.alibaba.cloud spring-cloud-starter-alibaba-nacos-config 2.2.5.RELEASE com.alibaba.cloud spring-cloud-starter-alibaba-nacos-discovery 2.2.5.RELEASE org.springframework.boot spring-boot-starter-actuator 2.6.6 ``` Springboot 版本是 2.6.6 的情况下,报下面异常,希望 nacos client 能升级下 springboot 版本。 ``` java.lang.ClassNotFoundException: org.springframework.boot.actuate.autoconfigure.health.HealthIndicatorAutoConfiguration ```

### Describe what this PR does / why we need it add NacosConfigurationExtConfigTests ### Does this pull request fix one issue? ### Describe how you did it ### Describe how...

我们鼓励使用英文,如果不能直接使用,可以使用翻译软件,您仍旧可以保留中文原文。 We recommend using English. If you are non-native English speaker, you can use the translation software. **Which Component** eg. Nacos config **Is your feature request related to a problem?...

stale

## Background Spring Cloud Alibaba microservice governance capabilities are relatively weak, we currently intends to dock Istio to complete the traffic governance function, and need to abstract Spring Cloud Alibaba's...

kind/discussion

# Chinese version 在 #2565 中,社区初步提出了 Spring Cloud Alibaba 容器化部署最佳实践的背景和需求 针对此 example 的相关的设计点如下 ## 基本业务大纲 在本 demo 示例中,我们提供了两种业务场景 1)**用户下单购买货物的场景**,下单后 - 先请求库存模块,扣减库存 - 扣减账户余额 - 生成订单信息返回响应 2)**用户为商品进行点赞**(模拟MQ的生产者消费者应用场景)返回商品点赞后的详细信息(点赞数等) ### 模块划分 为了便于理解和展示,demo 可以划分为以下的六个模块...

discussion

使用feign调用服务时,ribbon默认使用PollingServerListUpdater定时任务更新服务,eureka有对应的EurekaNotificationServerListUpdater基于事件的更新,目前nacos是否有提供对应的基于事件的ServerListUpdater,可以更快的感知到服务的上下线。

kind/enhancement