gguptp opened a new pull request, #263:
URL: https://github.com/apache/flink-connector-aws/pull/263
## Purpose of the change
The `flink-sql-connector-aws-kinesis-streams`, `-kinesis-firehose` and
`-dynamodb` jars bundle a relocated copy of Netty 4.1.86. Netty contains code
from other projects under the MIT, BSD, public domain and Apache licenses. The
jars ship neither the licenses for that code nor Netty's NOTICE entries. This
was found during the 6.1.0 RC1 vote, and it is the same problem that
apache/flink fixed in FLINK-41538.
## Brief change log
- Add the 11 licenses of the code bundled in Netty to `META-INF/licenses/`
of each SQL jar: base64, hoehrmann-utf8, hyper-hpack, jbzip2, jfastlz, jsr166y,
libdivsufsort, nghttp2-hpack, protobuf, slf4j, webbit
- Add Netty's copyright line and third-party NOTICE entries to each SQL
jar's NOTICE. This includes the Apache Harmony NOTICE and the credits for
JCTools, Twitter HPACK and Apache Commons Lang.
The license files and the NOTICE text are the same as the ones FLINK-41538
added to `flink-s3-fs-native`, which also bundles netty-nio-client from AWS SDK
v2.
## Verifying this change
This change only affects packaging. No tests were added. I checked it as
follows:
- Compared the Netty classes in the staged RC1 jars with the third-party
code that Netty contains. All 16 items listed in FLINK-41739 are present in the
bundled code. The jars bundle no native libraries, so the BoringSSL and
dnsinfo.h parts of FLINK-41538 do not apply.
- Built the three SQL jars with JDK 17 and confirmed that each jar
contains the 11 license files and the new NOTICE entries.
- Ran `exec:java@check-license` against the build output. It passes for
the 3 NOTICE files.
FLINK-41739 also notes that the CI license check reports "Extracted 0
modules that were deployed": the e2e steps in `common.yml` overwrite
`MVN_BUILD_OUTPUT_FILE` before the check reads it. That is not fixed here and
should be a separate PR.
## Significant changes
- [ ] Dependencies have been added or upgraded
- [ ] Public API has been changed (Public API is any class annotated with
`@Public(Evolving)`)
- [ ] Serializers have been changed
- [ ] New feature has been introduced
- If yes, how is this documented? (not applicable / docs / JavaDocs / not
documented)
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes (please specify the tool below)
Generated-by: Claude Code (Claude Opus 5.5)
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]