[API-CHANGE] Bring nouveau Sentinel entry API in Sentinel 2.0

wr98u20j  于 2022-10-19  发布在  其他
关注(0)|答案(3)|浏览(186)

Issue Description

Type: feature request

Describe what happened (or what feature you want)

Bring nouveau Sentinel entry API in Sentinel 2.0. An example:

try (Sentinel.entry(resourceName)) {
  // your logic here
} catch (BlockException e) {
  // your block handler here
}

NOTE: The legacy SphU and SphO API will not be deprecated, but we'll recommend using the new API for Sentinel 2.0.

trnvg8h3

trnvg8h31#

Sentinel 2.0相比1.8.x会有很大的变更吗? 可以将开源的2.0版本直接merge到二开的版本上(基于1.8.x)吗?

iqjalb3h

iqjalb3h2#

There will be breaking changes in Sentinel 2.0, but we'll try to keep compatibility with Sentinel 1.8.x.

7eumitmz

7eumitmz3#

是所有api都发生了很大的变化嘛? 还是只是部分使用上的改变? 是类似nacos 1.x到2.x的大变更升级?还是只是增加部分功能以及部分Api名称的变化?

相关问题