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

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.
  • renovate.json: drops com.typesafe.netty* from the netty group, since nothing matches it any more.
  • 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.

This is independent of #506. netty-nio-client 2.20.140 (on main) and 2.55.12 (in #506) both use their internal copy and reference nothing in com.typesafe.netty. The two PRs touch nearby lines in libs.versions.toml and verification-metadata.xml, so whichever merges second may need a rebase.

Testing

Claude checked:

  • ./gradlew clean build dist: all 722 tests pass.
  • Every class in the other 488 jars of the distribution built from main: none references com/typesafe/netty. No META-INF/services file, configuration file or nested archive names it either.
  • The netty-nio-client 2.20.140 and 2.55.12 jars contain no reference to com/typesafe/netty.
  • After the change, server-lib/aws/ext/netty no longer contains the two jars and is otherwise unchanged.

Release notes

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

🤖 Drafted with Claude Code

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, and drop com.typesafe.netty from the Renovate netty group.
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 tonygermano added the dependencies Dependency updates label Oct 23, 2026
@tonygermano tonygermano added the java Java / Gradle dependencies label Oct 23, 2026
@github-actions

Copy link
Copy Markdown

Test Results

129 files  ±0  129 suites  ±0   3m 14s ⏱️ +50s
737 tests ±0  737 ✅ ±0  0 💤 ±0  0 ❌ ±0 
827 runs  ±0  821 ✅ ±0  6 💤 ±0  0 ❌ ±0 

Results for commit 18b5d97. ± Comparison against base commit 6d348a0.

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