ServiceComb1.2.0发布|新版本特性解读

578 阅读4分钟
原文链接: mp.weixin.qq.com

近日,正在Apache基金会孵化项目—微服务解决方案Apache ServiceComb的1.2.0版本通过社区投票,正式发布。

这次发版的项目包括 :
  • ServiceComb Java-Chassis 1.2.0

     (released on 2019-04-12)

  • ServiceComb Service-Center 1.2.0

     (released on 2019-04-06)

  • ServiceComb Pack 0.4.0

     (released on 2019-04-06)

主要新增特性及提升如下:

Java-chassis

https://servicecomb.apache.org/cn/release/java-chassis-release-notes/

*支持统计调用时延分布,可以自定义时延分段

*增加http连接池中排队等待连接的请求数采集

*增加线程池因队列满而拒绝请求数的采集

*增加inspector模块

🌟New Features

  • [SCB-353]  - 支持统计调用时延分布,可以自定义时延分段

  • [SCB-1153] - 支持log4j2、logback通过%marker打印traceId-invocationId

  • [SCB-1188] - 增加inspector模块,可以直接在微服务实例上查看和在线测试契约,并可以将契约转换为文档格式查看和下载

  • [SCB-1147] - 支持慢调用检测,自动打印调用时延超过配置值的调用的各处理阶段详细耗时

  • [SCB-1044] - 增加系统、微服务进程cpu、网卡Bps、pps的采集

  • [SCB-1231] - 增加http连接池中排队等待连接的请求数采集

  • [SCB-1237] - 增加线程池因队列满而拒绝请求数的采集

Improvement

  • [SCB-837]  - enhance http2 special configuration

  • [SCB-1135] - Add client max receive header size config item

  • [SCB-1185] - Log DNS related exception to help locate problem

  • [SCB-1186] - add a common solution pom module to simplify user configurations

  • [SCB-1240] - allowed one prometheus cluster support multiple apps

  • [SCB-1046] - file upload support file array

  • [SCB-1083] - support test before provide service

  • [SCB-1134] - change default verticle instance count

  • [SCB-1136] - change default settings of sync executor

  • [SCB-1237] - improve default thread pool strategy

  • [SCB-1163] - Support spring-cloud-gateway

🔧Bug Fixes

  • [SCB-781]  - apollo as configuration center not support @ConfigurationProperties

  • [SCB-968]  - http2 not support download by pump mechanism

  • [SCB-1065] - when request not contain traceId,should use provider's invocation's traceId

  • [SCB-1095] - Timer task need catch all throwable to protected from unexpected error

  • [SCB-1141] - latest versionRule can not update to new version

  • [SCB-1226] - there are problems when request rejected by thread pool queue full

  • [SCB-1230] - avoid throw exception in httpClientResponse.

    exceptionHandler

  • [SCB-1165] - filter bridge methods when generate swagger

ServiceCenter

https://servicecomb.apache.org/cn/release/service-center-release-notes/

🌟New Features

  • [SCB-1049] - 告警中心

  • [SCB-1087] - 在契约详情页中添加查看契约的选项

☘Improvement

  • [SCB-1052] - import zap logger without binding go version

  • [SCB-1053] - Batch microservices instances discovery API

  • [SCB-1070] - New instance 'TESTING' status

  • [SCB-1092] - More abundant metrics information

🔧Bug Fixes

  • [SCB-1050] - Metrics cache does not clean

  • [SCB-1059] - Unexpected events publish if error occurs in previous list-watch loop

  • [SCB-1059] - Re-register instance does not keep alive the lease

  • [SCB-1059] - Use the raw password if decrypt failed

  • [SCB-1059] - Should not show the shared microservices by default

  • [SCB-1059] - Add grpc keepalive time

  • [SCB-1069] - Wrong response of batch delete microservices API

ServiceComb Pack

https://servicecomb.apache.org/cn/release/pack-release-notes/

* Provides Alpha HA implementation

* Support to use eureka or consul to do the service discovery of Alpha

* Fix the event scanner thread exit issue

🌟New Features

  • [SCB-15] - 支持通过流行开源服务注册中心(Eureka 和Consul)的服务注册发现

  • [SCB-1155] - alpha启动时选择随机的grpc端口

  • [SCB-1199] - consul的服务发现

☘Improvement

  • [SCB-244] - [pack] add demo to use pack with java chassis

  • [SCB-630] - Active the -Pdocker profile if detect the docker installation

  • [SCB-639] - upgrade docker maven plugin

  • [SCB-660] - Update the dubbo example compose file

  • [SCB-750] - Dependency management is incomplete in Saga and Java-Chassis

  • [SCB-785] - Cannot get the GlobalTxId and LocalTxId in the compensation method

  • [SCB-805] - If the node time of alpha and omega are not same, the transaction could be aborted

  • [SCB-806] - Polish alpha-server logger

  • [SCB-813] - pack-contract-grp module mvn install builds failure

  • [SCB-916] - Clean up @order annotation in TransactionAspectConfig

🔧Bug Fixes

  • [SCB-1118] - EventScanner should catch the exception to keep it running.

  • [SCB-1159] - Rxjs and TypeScript version compatibility issues

  • [SCB-1216] - Alpha Cluster support random gRPC port

  • [SCB-1217] - Consul support random gRPC port

下载地址

Service-Center

http://mirrors.tuna.tsinghua.edu.cn/apache/servicecomb/servicecomb-service-center/1.2.0/

Java-chassis

http://mirrors.tuna.tsinghua.edu.cn/apache/servicecomb/servicecomb-java-chassis/1.2.0/

Pack

http://mirrors.tuna.tsinghua.edu.cn/apache/servicecomb/servicecomb-pack/0.4.0/

ServiceComb相关资料 官方网站

http://servicecomb.apache.org/cn

前往GitHub

https://github.com/apache?q= ServiceComb

用户手册

http://servicecomb.apache.org/cn/users/

加入社区 在看点这里

戳“阅读原文” 阅读相关源码

并给ServiceComb点个“Star”吧