Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add global fallback support for AspectJ annotation extension #3116

Open
wants to merge 66 commits into
base: 1.8
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 52 commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
6d4cbb8
opt: 移除无用的代码
EzrealOf Sep 29, 2022
fd6c7bc
Bump version to 2.0.0-SNAPSHOT
sczyh30 Nov 3, 2022
9c218ba
docs: Update README.md and doc/awesome-sentinel.md
sczyh30 Nov 3, 2022
81fb20e
build(deps): Update snakeyaml to 1.32 in sentinel-cluster/sentinel-cl…
dependabot[bot] Nov 7, 2022
8de6cb9
Add data-source extension for OpenSergo fault-tolerance spec (#2842)
sczyh30 Nov 8, 2022
061371b
Add default circuit breaker rule support (#2232)
wuwen5 Nov 8, 2022
bb28104
Refactor and refine implementation of default circuit breaker rule
sczyh30 Nov 8, 2022
8dbf976
Fix spelling typo in code (#2948)
xiaozzzi Nov 12, 2022
e3e8500
Merge pull request #2893 from EzrealOf/opt_useless_code
brotherlu-xcq Nov 18, 2022
75ab407
build(deps): Bump dubbo to 2.7.18 in sentinel-demo/sentinel-demo-apac…
dependabot[bot] Nov 18, 2022
cff298f
dashboard: Add Dockerfile for dashboard and update doc (#2970)
wilsonwu Nov 25, 2022
0df2e20
ci: Update actions/checkout and actions/setup-java to v3 (#2973)
kirklin Nov 28, 2022
4774557
Add support for OpenSergo ConcurrencyLimitStrategy spec in sentinel-d…
pandaapo Nov 28, 2022
8a00a86
Update metrics name for better monitor selection in JMX MetricBeanWri…
garroshh Nov 30, 2022
aa54e41
Polish AssertUtil: add assertNotNull and assertTrue
sczyh30 Nov 14, 2022
6dc2fdb
Refactor RateLimiterController: improve accuracy and support maxQps >…
sczyh30 Nov 14, 2022
0561959
Fix NPE bug in LogSlot#entry when recording rule ID (#2980)
JosephZhang3 Nov 30, 2022
141d54f
Fix the bug that error occurs in JMX metrics exporter when resource n…
LiYangSir Dec 8, 2022
a7cd8a1
Fix thread-blocked problem of EtcdDataSource (#2991)
Yan1025 Dec 23, 2022
f872864
build(deps): Update protobuf & gRPC version of adapter modules to fix…
wenshao Dec 29, 2022
a63fea3
Fix potential connection leak bug when closing NacosDataSource (#2962)
pandaapo Jan 5, 2023
0133139
Upgrade curator-recipes to 5.1.0 to fix API change for ZooKeeper data…
pandaapo Jan 11, 2023
930baff
Add demo for Sentinel OpenSergo data-source (#3022)
sczyh30 Jan 18, 2023
6d6a200
doc: Add contribution leaderboard badge into README.md (#3029)
frank-zsy Feb 3, 2023
4bfd321
doc: Update README.md
sczyh30 Feb 10, 2023
4c84731
Add rule definition for Sentinel 2.0 traffic routing
panxiaojun233 Feb 13, 2023
e8abb30
Add interface for traffic routing.
panxiaojun233 Feb 13, 2023
92af1b8
Add implements for traffic routing capability.
panxiaojun233 Feb 13, 2023
19ecab4
Update OpenSergo data-source to support Sentinel 2.0 traffic routing
panxiaojun233 Feb 13, 2023
f10aedd
Merge pull request #3024: Add traffic routing capability
sczyh30 Feb 14, 2023
06c0a13
dashboard: Add MSE Sentinel guide in page nav-bar
sczyh30 Feb 28, 2023
b1e88bd
Bump version to 2.0.0-alpha
sczyh30 Feb 28, 2023
f5d736c
doc: Update issue templates
sczyh30 Mar 29, 2023
fd8966a
Add SSL support for sentinel-datasource-redis (#3045)
z521598 Apr 23, 2023
4e835d3
Add basic implementation of token bucket for flow-control (#3106)
LearningGp Apr 25, 2023
a6e90ce
doc: Update sentinel-dashboard/README.md (#3108)
robberphex Apr 26, 2023
0af60f2
Create SECURITY.md
sczyh30 Apr 26, 2023
112e0ed
Update SECURITY.md
sczyh30 May 5, 2023
0c47168
Add global fallback support for AspectJ annotation extension
luffy0223 May 5, 2023
1243ae6
fix unit test failure bugs
luffy0223 May 6, 2023
07b43d9
ci: Create .github/workflows/codeql-analysis.yml
sczyh30 May 9, 2023
06ee67a
add javadoc and prepend license header
luffy0223 May 9, 2023
21ba979
ci: Fix deprecated actions runner image (#3124)
sczyh30 May 24, 2023
36deadb
Fix CI: Update SentinelApacheHttpClientTest (#3133)
sczyh30 May 30, 2023
e845130
Merge branch 'alibaba:master' into dev-2305
luffy0223 May 30, 2023
c8d7125
add comments
luffy0223 May 31, 2023
a2e1400
Remove duplicate declaration of quarkus-arc-deployment dependency in …
clara0 May 31, 2023
5f8ee64
Merge branch 'alibaba:master' into dev-2305
luffy0223 Jun 6, 2023
9104493
Add global fallback support for annotation cdi-interceptor extension
luffy0223 Jun 8, 2023
cfd3845
fix unit test failure bugs
luffy0223 Jun 8, 2023
149aea6
update comments
luffy0223 Jun 9, 2023
1fbc226
Remove the requirement of carrying batchCount and args in entry.exit(…
LiYangSir Jun 14, 2023
b04fcbe
remove SentinelAnnotationGlobalFallback from SentinelResource, and a…
luffy0223 Jun 25, 2023
a64e818
Make default JUL-based logging asynchronous (#3136)
karl-sy Jun 26, 2023
cb21446
Bump version to 2.0.0-alpha2-SNAPSHOT
sczyh30 Aug 16, 2023
a70e139
Add CollectionUtil and IO util classes in sentinel-core
xinlunanxinlunan Aug 16, 2023
d270fda
Add sentinel-security-core module as building blocks for zero-trust(c…
xinlunanxinlunan Aug 16, 2023
e1c5582
Add sentinel-datasource-xds module for supporting zero-trust with xDS
xinlunanxinlunan Aug 16, 2023
7e8f539
adapter: Add SentinelTrustInterceptor for Sentinel Spring Web adapter
xinlunanxinlunan Aug 16, 2023
d00798f
Merge pull request #3182: Add Sentinel 2.0 zero-trust basic implement…
sczyh30 Aug 16, 2023
5108046
make all ThreadPool static final (#3243)
robberphex Oct 30, 2023
6879fdd
Fix order dependent tests in SofaRpcFallbackRegistryTest (#3282)
SaaiVenkat Dec 24, 2023
fb7d85d
metric: Add Prometheus exporter module for Sentinel metrics (#3173)
karl-sy Dec 27, 2023
a524ab3
Resource rules (flow/degrade/param/authority) support regex matching …
LiYangSir Dec 27, 2023
ae4c448
Merge branch 'alibaba:master' into dev-2305
luffy0223 Jan 21, 2024
2d36940
delete unnecessary import
luffy0223 Jan 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: "[BUG] "
labels: ''
assignees: ''

---

<!-- Here is for bug reports ONLY!

If you're looking for help, please check our mail list and the Gitter room.

Please try to use English to describe your issue, or at least provide a snippet of English translation.

Security problem: 如果您发现 Sentinel 项目中存在安全问题,请通过 [ASRC(Alibaba Security Response Center 阿里安全响应中心)](https://security.alibaba.com/) 告知我们,请不要直接提公开 issue.
-->

## Issue Description

Type: *bug report*

### Describe what happened


### Describe what you expected to happen


### How to reproduce it (as minimally and precisely as possible)

1.
2.
3.

### Tell us your environment


### Anything else we need to know?
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

<!-- Here is for bug reports and feature requests ONLY!

If you're looking for help, please check our mail list and the Gitter room.

Please try to use English to describe your issue, or at least provide a snippet of English translation.
-->

## Issue Description

Type: *feature request*

### Describe what feature you want

### Describe your initial design (if present)

### Additional context

Add any other context or screenshots about the feature request here.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,19 @@ on:

jobs:
build:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
strategy:
matrix:
java: [8, 11]
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Setup Java
uses: actions/setup-java@v1
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
distribution: 'adopt'
architecture: x64

- name: Test with Maven
Expand All @@ -29,4 +30,4 @@ jobs:
run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -DminimumPriority=1

- name: Run Codecov
run: bash <(curl -s https://codecov.io/bash)
run: bash <(curl -s https://codecov.io/bash)
55 changes: 55 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: "CodeQL"

on:
push:
branches: [ "master" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "master" ]
schedule:
- cron: '00 09 * * 3'

jobs:
analyze:
name: Analyze
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'java' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Use only 'java' to analyze code written in Java, Kotlin or both
# Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality


# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: "/language:${{matrix.language}}"
20 changes: 14 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,33 +7,35 @@
[![Maven Central](https://img.shields.io/maven-central/v/com.alibaba.csp/sentinel-core.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:com.alibaba.csp%20AND%20a:sentinel-core)
[![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
[![Gitter](https://badges.gitter.im/alibaba/Sentinel.svg)](https://gitter.im/alibaba/Sentinel)
[![Leaderboard](https://img.shields.io/badge/Sentinel-Check%20Your%20Contribution-orange)](https://opensource.alibaba.com/contribution_leaderboard/details?projectValue=sentinel)

## Introduction

As distributed systems become increasingly popular, the reliability between services is becoming more important than ever before.
Sentinel takes "flow" as breakthrough point, and works on multiple fields including **flow control**,
**traffic shaping**, **circuit breaking** and **system adaptive protection**, to guarantee reliability and resilience for microservices.
Sentinel takes "flow" as breakthrough point, and works on multiple fields including **flow control**, **traffic shaping**,
**concurrency limiting**, **circuit breaking** and **system adaptive overload protection**,
to guarantee reliability and resilience for microservices.

Sentinel has the following features:

- **Rich applicable scenarios**: Sentinel has been wildly used in Alibaba, and has covered almost all the core-scenarios in Double-11 (11.11) Shopping Festivals in the past 10 years, such as “Second Kill” which needs to limit burst flow traffic to meet the system capacity, message peak clipping and valley fills, circuit breaking for unreliable downstream services, cluster flow control, etc.
- **Real-time monitoring**: Sentinel also provides real-time monitoring ability. You can see the runtime information of a single machine in real-time, and the aggregated runtime info of a cluster with less than 500 nodes.
- **Widespread open-source ecosystem**: Sentinel provides out-of-box integrations with commonly-used frameworks and libraries such as Spring Cloud, Dubbo and gRPC. You can easily use Sentinel by simply add the adapter dependency to your services.
- **Polyglot support**: Sentinel has provided native support for Java, [Go](https://github.com/alibaba/sentinel-golang) and [C++](https://github.com/alibaba/sentinel-cpp).
- **Widespread open-source ecosystem**: Sentinel provides out-of-box integrations with commonly-used frameworks and libraries such as Spring Cloud, gRPC, Apache Dubbo and Quarkus. You can easily use Sentinel by simply add the adapter dependency to your services.
- **Polyglot support**: Sentinel has provided native support for Java, [Go](https://github.com/alibaba/sentinel-golang), [C++](https://github.com/alibaba/sentinel-cpp) and [Rust](https://github.com/sentinel-group/sentinel-rust).
- **Various SPI extensions**: Sentinel provides easy-to-use SPI extension interfaces that allow you to quickly customize your logic, for example, custom rule management, adapting data sources, and so on.

Features overview:

![features-of-sentinel](./doc/image/sentinel-features-overview-en.png)

The community is working on the specification of traffic governance and fault-tolerance.
The community is also working on **the specification of traffic governance and fault-tolerance**.
Please refer to [OpenSergo](https://opensergo.io/) for details.

## Documentation

See the [Sentinel Website](https://sentinelguard.io/) for the official website of Sentinel.

See the [中文文档](https://sentinelguard.io/zh-cn/docs/logs.html) for document in Chinese.
See the [中文文档](https://sentinelguard.io/zh-cn/docs/introduction.html) for document in Chinese.

See the [Wiki](https://github.com/alibaba/Sentinel/wiki) for full documentation, examples, blog posts, operational details and other information.

Expand Down Expand Up @@ -156,6 +158,12 @@ Contributions are always welcomed! Please refer to [CONTRIBUTING](./CONTRIBUTING

You can start with the issues labeled with [`good first issue`](https://github.com/alibaba/Sentinel/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22).

## Enterprise Service

If you need Sentinel enterprise service support (Sentinel 企业版), or purchase cloud product services,
you can join the discussion by the DingTalk group (34754806). It can also be directly activated
and used through the [microservice engine (MSE 微服务引擎) provided by Alibaba Cloud](https://cn.aliyun.com/product/aliware/mse?spm=sentinel-github.index.0.0.0).

## Credits

Thanks [Guava](https://github.com/google/guava), which provides some inspiration on rate limiting.
Expand Down
6 changes: 6 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Security Policy

## Reporting a security issue

If you think the bug you found is likely to make Sentinel-based applications vulnerable to an attack, please do not use
our public issue tracker but report it to [ASRC(Alibaba Security Response Center)](https://security.alibaba.com/).
13 changes: 10 additions & 3 deletions doc/awesome-sentinel.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,18 @@ You can also add to [sentinel-group/sentinel-awesome](https://github.com/sentine
- Sentinel 1.6.0 网关流控新特性介绍-Eric Zhao (Dubbo Tech Day-201905-Beijing): [PDF](https://github.com/sentinel-group/sentinel-awesome/blob/master/slides/Sentinel%201.6.0%20网关流控新特性介绍-Eric%20Zhao-DTED-201905.pdf)
- Sentinel 微服务流控降级实践-Eric Zhao (Dubbo Tech Day-201907-Shenzhen): [PDF](https://github.com/sentinel-group/sentinel-awesome/blob/master/slides/Sentinel%20微服务流控降级实践-Eric%20Zhao-DTED-201907.pdf)
- Sentinel 1.7.0 新特性展望-Eric Zhao (Dubbo Tech Day-201910-Chengdu): [PDF](https://github.com/sentinel-group/sentinel-awesome/blob/master/slides/Sentinel%201.7.0%20新特性展望-Eric%20Zhao-DTED-201910.pdf)
- 《微服务容易挂?Sentinel Go 让微服务稳如磐石》-Eric Zhao (Spring Cloud Alibaba Meetup 1205 杭州站): [PDF](https://github.com/sentinel-group/sentinel-awesome/blob/master/slides/SCA%20Meetup%20Hangzhou-20201205-Sentinel%20Go-Eric%20Zhao.pdf)
- Sentinel 2.0 流量治理全面升级-Eric Zhao (2022中间件开发者大会): [PDF](https://github.com/mse-group/Slides/blob/main/中间件开发者大会/10%20-%20赵奕豪(宿何)%20-Sentinel%202.0%20流量治理全面升级.pdf)

## Tutorials
## Tutorials/Samples

- [Sentinel Guides](https://github.com/sentinel-group/sentinel-guides)

## Demos
## Polyglot Support

- [sentinel-zuul-example](https://github.com/tigerMoon/sentinel-zuul-sample): A simple project integration Sentinel to Spring Cloud Zuul which provides Service and API Path level flow control management by [tiger](https://github.com/tigerMoon)
- <img src="https://raw.githubusercontent.com/sentinel-group/sentinel-awesome/master/sentinel_favicon.ico" title="Sentinel official" height="16px"> [Sentinel Go](https://github.com/alibaba/sentinel-golang)
- <img src="https://raw.githubusercontent.com/sentinel-group/sentinel-awesome/master/sentinel_favicon.ico" title="Sentinel official" height="16px"> [Sentinel C++](https://github.com/alibaba/sentinel-cpp)
- <img src="https://raw.githubusercontent.com/sentinel-group/sentinel-awesome/master/sentinel_favicon.ico" title="Sentinel official" height="16px"> [Sentinel Rust](https://github.com/sentinel-group/sentinel-rust)

## Extensions / Integrations

Expand Down Expand Up @@ -72,5 +76,8 @@ You can also add to [sentinel-group/sentinel-awesome](https://github.com/sentine
- [Sentinel 深入浅出之原理篇 DegradeSlot](https://www.jianshu.com/p/e910d4840e4a)
- [Alibaba Sentinel RESTful 接口流控处理优化](https://www.jianshu.com/p/96f5980d9798) by [luanlouis](https://github.com/luanlouis)
- [Sentinel 控制台前端开发环境搭建](https://www.cnblogs.com/cdfive2018/p/11084001.html) by [cdfive](https://github.com/cdfive)
- [Sentinel 如何接入 OpenTracing](https://juejin.im/post/5de32fe46fb9a071a828feeb) by [Zhang Shun](https://github.com/ZShUn)
- [阿里 Sentinel 源码解析](https://www.javadoop.com/post/sentinel) by [Javadoop](https://www.javadoop.com)
- [阿里巴巴开源限流降级神器 Sentinel 大规模生产级应用实践](https://mp.weixin.qq.com/s/AjHCUmygTr78yo9yMxMEyg) by 步崖
- [Introduction to Alibaba Sentinel](https://www.baeldung.com/java-sentinel-intro) by [Amit Bhave](https://github.com/Amitbhave)
- [Sentinel Go 毫秒级统计数据结构揭秘](https://sentinelguard.io/zh-cn/blog/sentinel-go-internal-data-structure.html) by [Binbin Zhang](https://github.com/binbin0325)
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.alibaba.csp</groupId>
<artifactId>sentinel-parent</artifactId>
<version>1.8.6</version>
<version>2.0.0-alpha</version>
<packaging>pom</packaging>

<name>${project.artifactId}</name>
Expand Down
2 changes: 1 addition & 1 deletion sentinel-adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<groupId>com.alibaba.csp</groupId>
<artifactId>sentinel-parent</artifactId>
<version>1.8.6</version>
<version>2.0.0-alpha</version>
</parent>
<artifactId>sentinel-adapter</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion sentinel-adapter/sentinel-apache-dubbo-adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>sentinel-adapter</artifactId>
<groupId>com.alibaba.csp</groupId>
<version>1.8.6</version>
<version>2.0.0-alpha</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion sentinel-adapter/sentinel-apache-dubbo3-adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>sentinel-adapter</artifactId>
<groupId>com.alibaba.csp</groupId>
<version>1.8.6</version>
<version>2.0.0-alpha</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>sentinel-adapter</artifactId>
<groupId>com.alibaba.csp</groupId>
<version>1.8.6</version>
<version>2.0.0-alpha</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
@SpringBootTest(classes = TestApplication.class,
webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT,
properties = {
"server.port=8084"
"server.port=8184"
})
public class SentinelApacheHttpClientTest {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>sentinel-adapter</artifactId>
<groupId>com.alibaba.csp</groupId>
<version>1.8.6</version>
<version>2.0.0-alpha</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion sentinel-adapter/sentinel-dubbo-adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.alibaba.csp</groupId>
<artifactId>sentinel-adapter</artifactId>
<version>1.8.6</version>
<version>2.0.0-alpha</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>sentinel-dubbo-adapter</artifactId>
Expand Down
7 changes: 4 additions & 3 deletions sentinel-adapter/sentinel-grpc-adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@
<parent>
<artifactId>sentinel-adapter</artifactId>
<groupId>com.alibaba.csp</groupId>
<version>1.8.6</version>
<version>2.0.0-alpha</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>sentinel-grpc-adapter</artifactId>
<packaging>jar</packaging>

<properties>
<grpc.version>1.30.2</grpc.version>
<protobuf.version>3.21.9</protobuf.version>
<grpc.version>1.51.0</grpc.version>
</properties>

<dependencies>
Expand Down Expand Up @@ -79,7 +80,7 @@
<artifactId>protobuf-maven-plugin</artifactId>
<version>0.5.1</version>
<configuration>
<protocArtifact>com.google.protobuf:protoc:3.5.1-1:exe:${os.detected.classifier}</protocArtifact>
<protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}</protocArtifact>
<pluginId>grpc-java</pluginId>
<pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}
</pluginArtifact>
Expand Down
2 changes: 1 addition & 1 deletion sentinel-adapter/sentinel-jax-rs-adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.alibaba.csp</groupId>
<artifactId>sentinel-adapter</artifactId>
<version>1.8.6</version>
<version>2.0.0-alpha</version>
</parent>

<artifactId>sentinel-jax-rs-adapter</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion sentinel-adapter/sentinel-motan-adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>sentinel-adapter</artifactId>
<groupId>com.alibaba.csp</groupId>
<version>1.8.6</version>
<version>2.0.0-alpha</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>sentinel-motan-adapter</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion sentinel-adapter/sentinel-okhttp-adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>sentinel-adapter</artifactId>
<groupId>com.alibaba.csp</groupId>
<version>1.8.6</version>
<version>2.0.0-alpha</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion sentinel-adapter/sentinel-quarkus-adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.alibaba.csp</groupId>
<artifactId>sentinel-adapter</artifactId>
<version>1.8.6</version>
<version>2.0.0-alpha</version>
</parent>

<artifactId>sentinel-quarkus-adapter-parent</artifactId>
Expand Down
Loading