Comments (6)
我自己做了一下尝试,问题不是很多,目测工作量比 Spring Boot 3.0 的适配会小很多。当然这仅是个人观点,具体情况如何以及是否要做适配还得大佬们决定。
尝试环境
我自己的尝试的环境:
- Spring Boot 3.2.0
- Spring Cloud 2023.0.0-RC1
- Spring Cloud Tencent 1.12.4-2022.0.4
主要问题
使用上面三个组件,目前我本地的环境已经可以运行起来。当然, 不是说直接使用就可以跑起来,还是有一些问题,但是问题不多。
目前主要的问题就是两个:
- 基础组件版本变更,导致 Spring Cloud Tencent GRPC 出现无法连接服务端问题。
目前已知 Spring Boot 2.7.18、3.1.6 和 3.2.0 中,将基础依赖的 netty 组件的版本,从 4.1.100.Final 升级至 了 4.1.101.Final。这就导致 Spring Cloud Tencent GRPC 无法连接到服务端。参见问题 #1210
- Spring Cloud Tencent 部分组件无法使用
因为目前 Spring Cloud Tencent 采用的是 uber.jar 的方式。依赖jar 的代码都已经打入到包中。Spring 生态的一些组件代码发生变化之后,就会与 Spring Cloud Tencent 现有jar 产生冲突。导致无法运行。
目前已知在 Spring Boot 3.2.0 和 Spring Cloud 2023.0.0-RC1 环境下, spring-bean.jar 和 feign 的一些代码有变化,就与现有的 Spring Cloud Tencent 有冲突,会直接导致无法运行。主要涉及的模块有:
- spring-cloud-starter-tencent-all
- spring-cloud-starter-tencent-polaris-circuitbreaker
不使用这两个模块,现有环境就可以正常跑起来。
from spring-cloud-tencent.
目前的计划是,等1.13版本发布后,会创建2023分支,届时可以关注参与下~
from spring-cloud-tencent.
@herodotus-cloud 如果要使用sc 2023的话,应该是需要在sct项目单独建立2023的分支,然后做适配开发,并引入2023版本的sdk,而非直接引入2022版本的sdk。
不知您是否有兴趣参与2023版本的建设呢?
from spring-cloud-tencent.
@herodotus-cloud 如果要使用sc 2023的话,应该是需要在sct项目单独建立2023的分支,然后做适配开发,并引入2023版本的sdk,而非直接引入2022版本的sdk。
不知您是否有兴趣参与2023版本的建设呢?
你说的是。我是急于尝鲜所以才这样做的 :)。我是有兴趣参与项目的建设,因为我本身也搞开源。只不过确实 Spring Cloud Tencent 体系完善和全面,上手还是需要点时间。还是得先学习学习,先从简单的入手。盲目的整,就是在给项目添乱。
from spring-cloud-tencent.
目前的计划是,等1.13版本发布后,会创建2023分支,届时可以关注参与下~
好的,非常感谢。我也会实时关注的。
from spring-cloud-tencent.
可以参考https://github.com/Tencent/spring-cloud-tencent/tree/2023.0 ,开发测试版:1.13.0-2023.0.0-SNAPSHOT
from spring-cloud-tencent.
Related Issues (20)
- 北极星自定义规则顺序不生效
- spring-cloud-tencent元数据管理与polaris-java公共能力合并
- 支持服务灰度发布
- spring boot 3 服务关闭时反注册失败! HOT 13
- 期望支持spring cloud 2023 HOT 1
- 支持零实例保护
- 开启优雅下线后,反注册失败
- 如果使用EnvironmentPostProcessor配置字段为null,启动会报错 HOT 1
- polaris-java 1.15.0 版本有重大bug,会导致监听服务实例变化不生效 HOT 2
- Jackson版本导致引入cloud-tencent依赖后无法启动问题 HOT 5
- 对于 swagger OpenAPI 的配置是否可以扩展让用户自定义在配置文件中 HOT 1
- 使用cloud-tencent,服务间grpc无法通讯问题 HOT 2
- spring-cloud-tencent 是否有计划能接入dubbo实现自动注册 HOT 5
- 用polaris替换奈飞的过程中gateway无法启动 HOT 8
- H版本的SCT中,如果引入了熔断组件,没有添加feign.hystrix.enabled: true,feign调用会报空指针异常
- SCT缺少配置可以指定就近路由的级别
- 自定义Prometheus拉取客户端的端口号失效 HOT 14
- jacoco升级到0.8.12版本
- 配置中心,动态刷新能力只有在第一次修改配置时触发 HOT 3
- 支持连接Consul配置中心
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-cloud-tencent.