Skip to content

Drop the unused netty-reactive-streams jars - #507

Open
tonygermano wants to merge 1 commit into
OpenIntegrationEngine:mainfrom
tonygermano:deps/drop-netty-reactive-streams
Open

tonygermano wants to merge 1 commit into
OpenIntegrationEngine:mainfrom
tonygermano:deps/drop-netty-reactive-streams

Conversation

@tonygermano

@tonygermano tonygermano commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

Summary

The server ships com.typesafe.netty:netty-reactive-streams and netty-reactive-streams-http 2.0.8 in server-lib/aws/ext/netty, but nothing uses them. They hold an implementation of the Reactive Streams interfaces for Netty, and the AWS SDK's netty-nio-client includes its own copy of that implementation under software.amazon.awssdk.http.nio.netty.internal.nrs, credited in its NOTICE. The copy covers every class of the two jars except the server and WebSocket ones (HttpStreamsServerHandler, WebSocketHttpResponse, DefaultWebSocketHttpResponse), which an HTTP client doesn't need. This PR removes the two jars.

  • gradle/libs.versions.toml: removes the version, both libraries and their server bundle entries.
  • gradle/vendored-layout.json: removes their aws/ext/netty mappings.
  • gradle/verification-metadata.xml: regenerated with a cold cache, as CONTRIBUTING.md describes. The only change is the three removed com.typesafe.netty entries (the two jars and the parent POM).

org.reactivestreams:reactive-streams stays: it holds the interfaces being implemented (Publisher, Subscriber, Subscription), which netty-nio-client and the SDK core still use.

The jars were already unused before #506: netty-nio-client 2.20.140, the version before it, also uses its internal copy. Now that #506 has merged, main has netty-nio-client 2.55.12, which doesn't reference com.typesafe.netty either. This PR is rebased on it, so the earlier possible conflict with #506 no longer applies.

This PR intentionally leaves renovate.json alone. The netty group there still lists com.typesafe.netty*, but nothing in the catalog matches it any more, so it has no effect. #553 removes the whole group, and editing the same lines here would conflict with it.

Testing

Claude checked:

Release notes

  • Removed the unused netty-reactive-streams and netty-reactive-streams-http jars from server-lib/aws/ext/netty.

🤖 Drafted with Claude Code

@tonygermano tonygermano added the dependencies Dependency updates label Oct 23, 2026
@tonygermano tonygermano added the java Java / Gradle dependencies label Oct 23, 2026
@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Test Results

  141 files  ±0    141 suites  ±0   3m 32s ⏱️ +32s
  919 tests ±0    919 ✅ ±0  0 💤 ±0  0 ❌ ±0 
1 051 runs  ±0  1 045 ✅ ±0  6 💤 ±0  0 ❌ ±0 

Results for commit 967eac8. ± Comparison against base commit 85bf679.

♻️ This comment has been updated with latest results.

mgaffigan
mgaffigan previously approved these changes Oct 23, 2026
The com.typesafe.netty netty-reactive-streams and
netty-reactive-streams-http 2.0.8 jars in aws/ext/netty hold an
implementation of the Reactive Streams interfaces for Netty.
netty-nio-client includes its own copy of that implementation under
software.amazon.awssdk.http.nio.netty.internal.nrs, credited in its
NOTICE, so the separate jars are no longer used. The copy covers every
class of the two jars except the server and WebSocket ones
(HttpStreamsServerHandler, WebSocketHttpResponse and
DefaultWebSocketHttpResponse), which an HTTP client does not need. No
class in any other jar of the distribution references
com.typesafe.netty, and no service or configuration file names it.

Remove them from the catalog, the server bundle and the vendored
layout. reactive-streams stays: it holds the interfaces being
implemented (Publisher, Subscriber, Subscription), which
netty-nio-client and the SDK core still use.

Checksums regenerated with a cold cache per CONTRIBUTING.md.

Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Tony Germano <tony@germano.name>
@tonygermano

Copy link
Copy Markdown
Member Author

@tonygermano
tonygermano requested a review from mgaffigan November 8, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates java Java / Gradle dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants