Skip to content

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

Merged
merged 2 commits into from
Oct 21, 2022

Conversation

millems
Copy link
Contributor

@millems millems commented Oct 14, 2022

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.

… 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.
@millems millems requested a review from a team as a code owner October 14, 2022 23:04
@millems millems force-pushed the millem/crt-cleanup-3 branch from 6326556 to 6121ec7 Compare October 19, 2022 18:31
@millems millems force-pushed the millem/crt-cleanup-3 branch from 6121ec7 to c695e0a Compare October 19, 2022 18:35
Copy link
Contributor

@zoewangg zoewangg left a 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?

@millems
Copy link
Contributor Author

millems commented Oct 19, 2022

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.

@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 60 Code Smells

89.0% 89.0% Coverage
0.0% 0.0% Duplication

@millems
Copy link
Contributor Author

millems commented Oct 21, 2022

Looks good after baking in the canaries for a few days. Slight heap memory usage increase, but no latency impact or increase in errors.

@millems millems merged commit adcb48e into millem/crt-cleanup-2 Oct 21, 2022
@millems millems deleted the millem/crt-cleanup-3 branch October 21, 2022 17:23
millems added a commit that referenced this pull request Oct 21, 2022
…#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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants