You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "lhotari (via GitHub)" <gi...@apache.org> on 2025/08/22 19:48:10 UTC
[PR] [improve][io] Upgrade AWS SDK v1 & v2, Kinesis KPL and KPC versions [pulsar]
lhotari opened a new pull request, #24661:
URL: https://github.com/apache/pulsar/pull/24661
### Motivation
[AWS Blog: Announcing end-of-support for Amazon Kinesis Client Library 1.x and Amazon Kinesis Producer Library 0.x effective January 30, 2026](https://aws.amazon.com/blogs/big-data/announcing-end-of-support-for-amazon-kinesis-client-library-1-x-and-amazon-kinesis-producer-library-0-x-effective-january-30-2026/)
### Modifications
* Upgrade AWS Kinesis Producer Library to 1.0.4 version
* Upgrade AWS Kinesis Consumer Library to 3.1.2 version
* Resolve AWS SDK v2 library version conflicts that emerged after KPL 1.0.4 upgrade by aligning all versions with AWS SDK v2 bom. Set the version to latest 2.32.28
* For consistency, upgrade AWS SDK v1 library version to latest 1.12.788
* Upgrade AWS Kinesis Producer Library native library build for Alpine
* Library will be pushed [to Docker Hub](https://hub.docker.com/r/apachepulsar/pulsar-io-kinesis-sink-kinesis_producer/tags) at `apachepulsar/pulsar-io-kinesis-sink-kinesis_producer:1.0.4`
* The KPL binary in the docker image is used in [pulsar-all docker image builds](https://github.com/apache/pulsar/blob/f2709bc823c7d048065dfb3d2845e47bcb0e3e0f/docker/pulsar-all/Dockerfile#L37-L41)
### Documentation
<!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
- [ ] `doc` <!-- Your PR contains doc changes. -->
- [ ] `doc-required` <!-- Your PR changes impact docs and you will update later -->
- [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
- [ ] `doc-complete` <!-- Docs have been already added -->
--
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@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [improve][io] Upgrade AWS SDK v1 & v2, Kinesis KPL and KPC versions [pulsar]
Posted by "codecov-commenter (via GitHub)" <gi...@apache.org>.
codecov-commenter commented on PR #24661:
URL: https://github.com/apache/pulsar/pull/24661#issuecomment-3217092850
## [Codecov](https://app.codecov.io/gh/apache/pulsar/pull/24661?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 74.23%. Comparing base ([`b1ba220`](https://app.codecov.io/gh/apache/pulsar/commit/b1ba220eb374a7c56426c0395f27fc4c8528751b?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)) to head ([`5a37700`](https://app.codecov.io/gh/apache/pulsar/commit/5a377006917bb544db160e8ff4159ab9e5668cbc?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)).
:warning: Report is 1 commits behind head on master.
<details><summary>Additional details and impacted files</summary>
[](https://app.codecov.io/gh/apache/pulsar/pull/24661?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
```diff
@@ Coverage Diff @@
## master #24661 +/- ##
=============================================
+ Coverage 38.59% 74.23% +35.64%
- Complexity 12889 33152 +20263
=============================================
Files 1827 1884 +57
Lines 142838 146913 +4075
Branches 16401 16874 +473
=============================================
+ Hits 55125 109063 +53938
+ Misses 80279 29149 -51130
- Partials 7434 8701 +1267
```
| [Flag](https://app.codecov.io/gh/apache/pulsar/pull/24661/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [inttests](https://app.codecov.io/gh/apache/pulsar/pull/24661/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `26.60% <ø> (-0.20%)` | :arrow_down: |
| [systests](https://app.codecov.io/gh/apache/pulsar/pull/24661/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `23.32% <0.00%> (+0.03%)` | :arrow_up: |
| [unittests](https://app.codecov.io/gh/apache/pulsar/pull/24661/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | `73.72% <100.00%> (+39.35%)` | :arrow_up: |
Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#carryforward-flags-in-the-pull-request-comment) to find out more.
| [Files with missing lines](https://app.codecov.io/gh/apache/pulsar/pull/24661?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) | Coverage Δ | |
|---|---|---|
| [...java/org/apache/pulsar/io/kinesis/KinesisSink.java](https://app.codecov.io/gh/apache/pulsar/pull/24661?src=pr&el=tree&filepath=pulsar-io%2Fkinesis%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fpulsar%2Fio%2Fkinesis%2FKinesisSink.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-cHVsc2FyLWlvL2tpbmVzaXMvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3B1bHNhci9pby9raW5lc2lzL0tpbmVzaXNTaW5rLmphdmE=) | `57.53% <100.00%> (+57.53%)` | :arrow_up: |
| [...rg/apache/pulsar/io/kinesis/KinesisSinkConfig.java](https://app.codecov.io/gh/apache/pulsar/pull/24661?src=pr&el=tree&filepath=pulsar-io%2Fkinesis%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fpulsar%2Fio%2Fkinesis%2FKinesisSinkConfig.java&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache#diff-cHVsc2FyLWlvL2tpbmVzaXMvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3B1bHNhci9pby9raW5lc2lzL0tpbmVzaXNTaW5rQ29uZmlnLmphdmE=) | `90.90% <ø> (+90.90%)` | :arrow_up: |
... and [1388 files with indirect coverage changes](https://app.codecov.io/gh/apache/pulsar/pull/24661/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)
</details>
<details><summary> :rocket: New features to boost your workflow: </summary>
- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
--
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@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [improve][io] Upgrade AWS SDK v1 & v2, Kinesis KPL and KPC versions [pulsar]
Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari merged PR #24661:
URL: https://github.com/apache/pulsar/pull/24661
--
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@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [improve][io] Upgrade AWS SDK v1 & v2, Kinesis KPL and KPC versions [pulsar]
Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari commented on PR #24661:
URL: https://github.com/apache/pulsar/pull/24661#issuecomment-3219065251
@freeznet @jiangpengcheng Please review
--
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@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [improve][io] Upgrade AWS SDK v1 & v2, Kinesis KPL and KPC versions [pulsar]
Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari commented on PR #24661:
URL: https://github.com/apache/pulsar/pull/24661#issuecomment-3216641149
There's a remaining challenge to solve: AWS Kinesis Producer Library depends on grpc-java 4.29.0 which conflicts with Pulsar's grpc-java version at runtime. It will be necessary to create a shaded version of the library to resolve this issue.
The integration test fails since the Function Worker won't be able to communicate with the Function instance. This most likely is a result of the grpc-java version conflict.
--
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@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] [improve][io] Upgrade AWS SDK v1 & v2, Kinesis KPL and KPC versions [pulsar]
Posted by "lhotari (via GitHub)" <gi...@apache.org>.
lhotari commented on PR #24661:
URL: https://github.com/apache/pulsar/pull/24661#issuecomment-3217294238
> There's a remaining challenge to solve: AWS Kinesis Producer Library depends on grpc-java 4.29.0 which conflicts with Pulsar's grpc-java version at runtime. It will be necessary to create a shaded version of the library to resolve this issue. The integration test fails since the Function Worker won't be able to communicate with the Function instance. This most likely is a result of the grpc-java version conflict.
This has been addressed.
--
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@pulsar.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org