You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "sarvaesh (via GitHub)" <gi...@apache.org> on 2026/07/27 06:29:14 UTC
[I] [Enhancement] Netty Version Upgrade [rocketmq-clients]
sarvaesh opened a new issue, #1313:
URL: https://github.com/apache/rocketmq-clients/issues/1313
### Before Creating the Enhancement Request
- [x] I have confirmed that this should be classified as an enhancement rather than a bug/feature.
### Programming Language of the Client
Java
### Summary
The latest verion of rocketmq-client-java 5.2.1 is currently using a older version of netty jar < 4.1.100.Final There are quiet a lot of vulnerabilities in each of the older version of netty jars.
Is it possible in the next release of rocketmq-client-java that there will be a latest version of netty jar like 4.1.136.Final
### Motivation
To have components updated with latest version, so vulnerabilities are reduced
### Describe the Solution You'd Like
Upgrade of Netty jar and its related components
### Describe Alternatives You've Considered
rocketmq-client-java-noshade was also considered. But the vulnerability is now seen in io.grpc:grpc-netty-shaded which is also using older version of netty jars
### Additional Context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Enhancement] Netty Version Upgrade [rocketmq-clients]
Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #1313:
URL: https://github.com/apache/rocketmq-clients/issues/1313#issuecomment-5231198429
**Issue Evaluation**
Category: `enhancement` | Status: **Evaluated**
**Feasibility:** Feasible — dependency upgrade.
**Scope:** Netty dependency version. Needs compatibility verification with the gRPC stack and all client modules.
**Compatibility:** Should be tested against the current Proxy gRPC protocol. Major Netty version bumps may introduce behavioral changes in HTTP/2 handling.
Please specify the target Netty version and any known issues with the current version that motivate this upgrade (security CVEs, bug fixes, performance improvements).
---
*Automated evaluation by RockteMQ-AI*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Enhancement] Netty Version Upgrade [rocketmq-clients]
Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #1313:
URL: https://github.com/apache/rocketmq-clients/issues/1313#issuecomment-5231196705
**Issue Evaluation**
Category: `enhancement` | Status: **Evaluated**
**Feasibility:** Feasible — dependency upgrade.
**Scope:** Netty dependency version. Needs to verify compatibility with the gRPC stack and all client modules (Java, and indirectly other language clients that depend on the Java Proxy).
**Compatibility:** Should be tested against the current Proxy gRPC protocol. Major Netty version bumps may introduce behavioral changes in HTTP/2 handling.
Please specify the target Netty version and any known issues with the current version that motivate this upgrade (security CVEs, bug fixes, performance improvements).
---
*Automated evaluation by RockteMQ-AI*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Enhancement] Netty Version Upgrade [rocketmq-clients]
Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #1313:
URL: https://github.com/apache/rocketmq-clients/issues/1313#issuecomment-5364742003
**Issue Evaluation**
Category: `enhancement` | Status: **Evaluated**
**Feasibility:** feasible
**Scope:** Java client dependencies
**Compatibility:** Low risk if Netty 4.1.x → 4.1.x minor upgrade; higher risk for 4.2.x.
Upgrading Netty is reasonable for security patches and performance improvements. However, this needs careful evaluation:
- Verify no breaking API changes in the target Netty version
- Test with all supported Java versions (8, 11, 17, 21)
- Check for conflicts with other dependencies that also pull in Netty
This is a maintenance task that should be done regularly but requires thorough compatibility testing.
---
*Automated evaluation by RockteMQ-AI*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Enhancement] Netty Version Upgrade [rocketmq-clients]
Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #1313:
URL: https://github.com/apache/rocketmq-clients/issues/1313#issuecomment-5370367685
Hi @sarvaesh, thanks for the suggestion!
This has been classified as an **enhancement/feature request** and noted for the maintainers to review.
If you have a concrete implementation proposal or would like to contribute a PR, the community would greatly appreciate it!
---
🤖 *Automated issue analysis by github-manager*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Enhancement] Netty Version Upgrade [rocketmq-clients]
Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #1313:
URL: https://github.com/apache/rocketmq-clients/issues/1313#issuecomment-5394980559
**Issue Evaluation**
Category: `enhancement` | Status: **Evaluated**
**Feasibility:** Feasible
**Scope:** Java client transport layer (Netty dependency)
**Compatibility:** Potentially breaking if Netty API changes affect client code; requires thorough testing.
Reasonable maintenance enhancement. Upgrading Netty brings security patches, performance improvements, and bug fixes. The upgrade should be carefully tested for:
- API compatibility (Netty minor/major versions may deprecate or change APIs).
- Transport behavior (connection pooling, SSL/TLS handling, HTTP/2 support).
- Performance regression testing under load.
Consider coordinating with the main `apache/rocketmq` repository to align Netty versions across server and client.
---
*Automated evaluation by github-manager*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Enhancement] Netty Version Upgrade [rocketmq-clients]
Posted by "RockteMQ-AI (via GitHub)" <gi...@apache.org>.
RockteMQ-AI commented on issue #1313:
URL: https://github.com/apache/rocketmq-clients/issues/1313#issuecomment-5088278385
**Issue Evaluation**
Category: `type/enhancement` | Status: **Evaluated**
**Feasibility:** needs-discussion
**Scope:** `java` module — `grpc-netty-shaded` dependency chain
**Compatibility:** Potential breaking changes from gRPC upgrade
**Analysis:**
The Netty dependency in `rocketmq-client-java` is pulled in transitively through `grpc-netty-shaded` (currently at gRPC `1.50.0`, which bundles Netty ~`4.1.79.Final`). There is no direct `netty` dependency in the client pom — upgrading Netty independently is not straightforward because `grpc-netty-shaded` repackages Netty classes into its own JAR.
To reach Netty `4.1.136.Final`, the `grpc.version` would need to be bumped from `1.50.0` (Oct 2022) to a much newer release. This is a significant upgrade that may introduce:
- gRPC API changes affecting client internals
- Behavioral differences in retry, load-balancing, or connection management
- Compatibility risk with the Proxy-side gRPC protocol version
For reference, the main `apache/rocketmq` repo already uses Netty `4.1.130.Final` directly.
**Recommendation:** This is a valid security concern. A gRPC version bump should be evaluated holistically — testing against the Proxy gRPC protocol, verifying retry/fault-tolerance behavior, and coordinating with the `apache/rocketmq` Proxy module to ensure protocol compatibility. Marking as `needs-discussion` for maintainer input on the gRPC upgrade scope.
---
*Automated evaluation by RockteMQ-AI*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Enhancement] Netty Version Upgrade [rocketmq-clients]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #1313: [Enhancement] Netty Version Upgrade
URL: https://github.com/apache/rocketmq-clients/issues/1313
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Enhancement] Netty Version Upgrade [rocketmq-clients]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #1313:
URL: https://github.com/apache/rocketmq-clients/issues/1313#issuecomment-5805368830
This issue is stale because it has been open for 30 days with no activity. It will be closed in 3 days if no further activity occurs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Enhancement] Netty Version Upgrade [rocketmq-clients]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #1313:
URL: https://github.com/apache/rocketmq-clients/issues/1313#issuecomment-5851390041
This issue was closed because it has been inactive for 3 days since being marked as stale.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org