aws / aws/aws-sdk-java-v2

Implement java.util.concurrent.Flow.Publisher for SdkPublisher

Open
#6,164 1 comment 2 reactions 0 assignees View on GitHub
feature-request p3
Dominant language
Java
Stars
2.6k
Forks
1k
Avg merge
2d 9h
Merged PRs (30d)
51

Description

### Describe the feature

Currently, SdkPublisher implements org.reactivestreams.Publisher. but that interface is now kind of deprecated, and replaced by java.util.concurrent.Flow.Publisher, which is part of the standard library in java 9 and later.

I'd like it if this and related APIs were updated to use the newer API.

### Use Case

I am using other libraries that work with the newer Flow API, and it is currently necessary to use adapters to convert between the built-in Flow API and the older reactivestreams API. I would like it if the AWS SDK supported the modern API natively

### Proposed Solution

_No response_

### Other Information

_No response_

### Acknowledgements

- [x] I may be able to implement this feature request
- [ ] This feature might incur a breaking change

### AWS Java SDK version used

any

### JDK version used

any version 9 or greater

### Operating System and version

any

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.