Skip to content

[ISSUE #4845] Update grpc version from 1.43.2 to 1.63.0 #4876

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

Closed
wants to merge 20 commits into from
Closed
Show file tree
Hide file tree
Changes from 16 commits
Commits
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
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ subprojects {
sign publishing.publications.mavenJava
}

def grpcVersion = '1.43.2'
def grpcVersion = '1.63.0'
def log4jVersion = '2.22.1'

dependencyManagement {
Expand Down
2 changes: 1 addition & 1 deletion eventmesh-common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/

def grpcVersion = '1.43.2'
def grpcVersion = '1.63.0'

dependencies {
api "com.google.guava:guava"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.43.2)",
value = "by gRPC proto compiler (version 1.63.0)",
comments = "Source: eventmesh-service.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class ConsumerServiceGrpc {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.43.2)",
value = "by gRPC proto compiler (version 1.63.0)",
comments = "Source: eventmesh-service.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class HeartbeatServiceGrpc {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
/**
*/
@javax.annotation.Generated(
value = "by gRPC proto compiler (version 1.43.2)",
value = "by gRPC proto compiler (version 1.63.0)",
comments = "Source: eventmesh-service.proto")
@io.grpc.stub.annotations.GrpcGenerated
public final class PublisherServiceGrpc {
Expand Down
2 changes: 1 addition & 1 deletion eventmesh-examples/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/

def grpcVersion = '1.43.2'
def grpcVersion = '1.63.0'

dependencies {
implementation project(":eventmesh-sdks:eventmesh-sdk-java")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies {
implementation ("io.grpc:grpc-protobuf:1.42.2") {
exclude group: "com.google.protobuf", module: "protobuf-java"
}
implementation("com.google.protobuf:protobuf-java:3.21.5")
implementation("com.google.protobuf:protobuf-java:3.25.1")
implementation "io.cloudevents:cloudevents-protobuf"

compileOnly 'org.projectlombok:lombok'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ repositories {
mavenCentral()
}

def grpcVersion = '1.43.2' // CURRENT_GRPC_VERSION
def protobufVersion = '3.21.5'
def grpcVersion = '1.63.0' // CURRENT_GRPC_VERSION
def protobufVersion = '3.25.1'
def protocVersion = protobufVersion
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we just need to define grpcVersion and protobufVersion once in the build.gradle file in the project root directory.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also think it's more appropriate to define it under the root directory. I will resubmit to fix the above issues.


dependencies {
Expand All @@ -37,6 +37,7 @@ dependencies {
implementation "com.google.protobuf:protobuf-java-util:${protobufVersion}"
implementation "javax.annotation:javax.annotation-api:1.3.2"
testImplementation 'org.junit.jupiter:junit-jupiter:5.6.0'

}

protobuf {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ dependencies {
implementation ("io.grpc:grpc-protobuf:1.42.2") {
exclude group: "com.google.protobuf", module: "protobuf-java"
}
implementation("com.google.protobuf:protobuf-java:3.21.5")
implementation("com.google.protobuf:protobuf-java:3.25.1")
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dependencies {
implementation ("io.grpc:grpc-protobuf:1.42.2") {
exclude group: "com.google.protobuf", module: "protobuf-java"
}
implementation("com.google.protobuf:protobuf-java:3.21.5")
implementation("com.google.protobuf:protobuf-java:3.25.1")
implementation "io.cloudevents:cloudevents-protobuf"

testImplementation project(":eventmesh-protocol-plugin:eventmesh-protocol-api")
Expand Down
4 changes: 2 additions & 2 deletions eventmesh-sdks/eventmesh-sdk-java/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* limitations under the License.
*/

def grpcVersion = '1.43.2'
def grpcVersion = '1.63.0'

dependencies {
api(project(":eventmesh-common")) {
Expand Down Expand Up @@ -54,7 +54,7 @@ dependencies {

implementation "io.grpc:grpc-protobuf:${grpcVersion}"
implementation "io.grpc:grpc-stub:${grpcVersion}"
implementation "com.google.protobuf:protobuf-java-util:3.21.5"
implementation "com.google.protobuf:protobuf-java-util:3.25.1"
compileOnly 'org.projectlombok:lombok'
annotationProcessor 'org.projectlombok:lombok'

Expand Down
42 changes: 17 additions & 25 deletions tools/dependency-check/known-dependencies.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ accessors-smart-2.4.7.jar
adapter-rxjava2-2.9.0.jar
alibabacloud-gateway-spi-0.0.1.jar
amqp-client-5.16.0.jar
animal-sniffer-annotations-1.19.jar
animal-sniffer-annotations-1.23.jar
annotations-2.20.29.jar
annotations-4.1.1.4.jar
antlr-2.7.7.jar
Expand Down Expand Up @@ -80,25 +80,26 @@ dom4j-2.0.3.jar
druid-1.2.20.jar
endpoint-util-0.0.7.jar
endpoints-spi-2.20.29.jar
error_prone_annotations-2.9.0.jar
error_prone_annotations-2.23.0.jar
eventstream-1.0.1.jar
failureaccess-1.0.1.jar
fastjson-1.2.69_noneautotype.jar
fastjson2-2.0.48.jar
gateway-dingtalk-1.0.2.jar
google-auth-library-credentials-0.22.2.jar
grpc-api-1.43.2.jar
grpc-api-1.63.0.jar
grpc-auth-1.39.0.jar
grpc-context-1.43.2.jar
grpc-core-1.43.2.jar
grpc-context-1.63.0.jar
grpc-core-1.63.0.jar
grpc-grpclb-1.17.1.jar
grpc-netty-1.43.2.jar
grpc-netty-shaded-1.43.2.jar
grpc-netty-1.63.0.jar
grpc-netty-shaded-1.63.0.jar
grpc-protobuf-1.63.0.jar
grpc-protobuf-1.42.2.jar
grpc-protobuf-1.43.2.jar
grpc-protobuf-lite-1.63.0.jar
grpc-protobuf-lite-1.42.2.jar
grpc-protobuf-lite-1.43.2.jar
grpc-stub-1.43.2.jar
grpc-util-1.63.0.jar
grpc-stub-1.63.0.jar
gson-2.8.2.jar
guava-31.0.1-jre.jar
guava-retrying-2.0.0.jar
Expand All @@ -118,6 +119,7 @@ ipaddress-5.3.3.jar
istack-commons-runtime-3.0.7.jar
j2objc-annotations-1.3.jar
jackson-annotations-2.13.0.jar
j2objc-annotations-2.8.jar
jackson-core-2.13.0.jar
jackson-databind-2.13.0.jar
jackson-dataformat-yaml-2.13.0.jar
Expand Down Expand Up @@ -185,19 +187,15 @@ netty-3.10.6.Final.jar
netty-all-4.1.79.Final.jar
netty-buffer-4.1.100.Final.jar
netty-buffer-4.1.79.Final.jar
netty-buffer-4.1.86.Final.jar
netty-codec-4.1.100.Final.jar
netty-codec-4.1.79.Final.jar
netty-codec-4.1.86.Final.jar
netty-codec-dns-4.1.100.Final.jar
netty-codec-dns-4.1.79.Final.jar
netty-codec-haproxy-4.1.79.Final.jar
netty-codec-http-4.1.100.Final.jar
netty-codec-http-4.1.79.Final.jar
netty-codec-http-4.1.86.Final.jar
netty-codec-http2-4.1.100.Final.jar
netty-codec-http2-4.1.79.Final.jar
netty-codec-http2-4.1.86.Final.jar
netty-codec-memcache-4.1.79.Final.jar
netty-codec-mqtt-4.1.79.Final.jar
netty-codec-redis-4.1.79.Final.jar
Expand All @@ -208,17 +206,14 @@ netty-codec-stomp-4.1.79.Final.jar
netty-codec-xml-4.1.79.Final.jar
netty-common-4.1.100.Final.jar
netty-common-4.1.79.Final.jar
netty-common-4.1.86.Final.jar
netty-handler-4.1.100.Final.jar
netty-handler-4.1.79.Final.jar
netty-handler-4.1.86.Final.jar
netty-handler-proxy-4.1.100.Final.jar
netty-handler-proxy-4.1.79.Final.jar
netty-nio-client-2.20.29.jar
netty-reactive-streams-2.0.4.jar
netty-resolver-4.1.100.Final.jar
netty-resolver-4.1.79.Final.jar
netty-resolver-4.1.86.Final.jar
netty-resolver-dns-4.1.100.Final.jar
netty-resolver-dns-4.1.79.Final.jar
netty-resolver-dns-classes-macos-4.1.79.Final.jar
Expand All @@ -230,7 +225,6 @@ netty-tcnative-classes-2.0.48.Final.jar
netty-tcnative-classes-2.0.51.Final.jar
netty-transport-4.1.100.Final.jar
netty-transport-4.1.79.Final.jar
netty-transport-4.1.86.Final.jar
netty-transport-classes-epoll-4.1.79.Final.jar
netty-transport-classes-epoll-4.1.86.Final.jar
netty-transport-classes-kqueue-4.1.79.Final.jar
Expand All @@ -241,7 +235,6 @@ netty-transport-native-kqueue-4.1.79.Final-osx-aarch_64.jar
netty-transport-native-kqueue-4.1.79.Final-osx-x86_64.jar
netty-transport-native-unix-common-4.1.100.Final.jar
netty-transport-native-unix-common-4.1.79.Final.jar
netty-transport-native-unix-common-4.1.86.Final.jar
netty-transport-rxtx-4.1.79.Final.jar
netty-transport-sctp-4.1.79.Final.jar
netty-transport-udt-4.1.79.Final.jar
Expand Down Expand Up @@ -270,7 +263,7 @@ opentelemetry-sdk-trace-1.36.0.jar
opentelemetry-semconv-1.30.1-alpha.jar
org.abego.treelayout.core-1.0.3.jar
org.jacoco.agent-0.8.4-runtime.jar
perfmark-api-0.23.0.jar
perfmark-api-0.26.0.jar
pinpoint-annotations-2.4.1.jar
pinpoint-bootstrap-2.4.1.jar
pinpoint-bootstrap-core-2.4.1.jar
Expand All @@ -294,11 +287,10 @@ prometheus-metrics-exposition-formats-1.1.0.jar
prometheus-metrics-model-1.1.0.jar
prometheus-metrics-shaded-protobuf-1.1.0.jar
proto-google-common-protos-2.0.1.jar
protobuf-java-3.19.2.jar
protobuf-java-3.21.5.jar
protobuf-java-3.21.9.jar
proto-google-common-protos-2.29.0.jar
protobuf-java-3.25.1.jar
protobuf-java-util-3.25.1.jar
protobuf-java-util-3.15.0.jar
protobuf-java-util-3.21.5.jar
protobuf-java-util-3.5.1.jar
protocol-core-2.20.29.jar
pull-parser-2.jar
Expand Down Expand Up @@ -378,4 +370,4 @@ zipkin-sender-okhttp3-3.3.0.jar
zookeeper-3.7.1.jar
zookeeper-jute-3.7.1.jar
zstd-jni-1.5.0-2.jar
zstd-jni-1.5.2-2.jar
zstd-jni-1.5.2-2.jar