-
Notifications
You must be signed in to change notification settings - Fork 910
Updated aws-crt-client to use new 'utils' publishers for its response body logic. #3490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… body logic. Added a new publisher to 'utils': SimplePublisher - A publisher that exposes simple `write`, `complete` and `error` methods, and avoids the caller needing to be concerned about backpressure or following the reactive streams specification.
utils/src/main/java/software/amazon/awssdk/utils/async/SimplePublisher.java
Outdated
Show resolved
Hide resolved
utils/src/main/java/software/amazon/awssdk/utils/async/SimplePublisher.java
Outdated
Show resolved
Hide resolved
utils/src/main/java/software/amazon/awssdk/utils/async/SimplePublisher.java
Outdated
Show resolved
Hide resolved
utils/src/main/java/software/amazon/awssdk/utils/async/SimplePublisher.java
Show resolved
Hide resolved
...ient/src/main/java/software/amazon/awssdk/http/crt/internal/response/CrtResponseAdapter.java
Show resolved
Hide resolved
...ient/src/main/java/software/amazon/awssdk/http/crt/internal/response/CrtResponseAdapter.java
Outdated
Show resolved
Hide resolved
utils/src/main/java/software/amazon/awssdk/utils/async/SimplePublisher.java
Outdated
Show resolved
Hide resolved
utils/src/main/java/software/amazon/awssdk/utils/async/SimplePublisher.java
Show resolved
Hide resolved
utils/src/main/java/software/amazon/awssdk/utils/async/SimplePublisher.java
Outdated
Show resolved
Hide resolved
utils/src/main/java/software/amazon/awssdk/utils/async/SimplePublisher.java
Outdated
Show resolved
Hide resolved
...ient/src/main/java/software/amazon/awssdk/http/crt/internal/response/CrtResponseAdapter.java
Show resolved
Hide resolved
utils/src/main/java/software/amazon/awssdk/utils/async/SimplePublisher.java
Show resolved
Hide resolved
6326556
to
6121ec7
Compare
6121ec7
to
c695e0a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we run integ tests and stability tests if we haven't already?
Integration and stability tests are passing. I'll be baking this in the canaries for a little while to build additional confidence before merging to main. |
Kudos, SonarCloud Quality Gate passed! |
Looks good after baking in the canaries for a few days. Slight heap memory usage increase, but no latency impact or increase in errors. |
…#3507) * Updated aws-crt-client to use new 'utils' publishers for its request body logic. Added two new publishers to 'utils': 1. StoringSubscriber - A subscriber that stores the events it receives in memory for retrieval. 2. ByteBufferStoringSubscriber - A subscriber that stores byte buffers it recevies in memory for retrieval. * Updated aws-crt-client to use new 'utils' publishers for its response body logic. (#3490) * Updated aws-crt-client to use new 'utils' publishers for its response body logic. Added a new publisher to 'utils': SimplePublisher - A publisher that exposes simple `write`, `complete` and `error` methods, and avoids the caller needing to be concerned about backpressure or following the reactive streams specification. * Addressed comments.
Added a new publisher to 'utils': SimplePublisher - A publisher that exposes simple
write
,complete
anderror
methods, and avoids the caller needing to be concerned about backpressure or following the reactive streams specification.