linkedin / ambry

Distributed object store
https://github.com/linkedin/ambry/wiki
Apache License 2.0
1.75k stars 276 forks source link

An async writable channel implementation that can send the bytes to multiple Readable channels #2898

Closed Arun-LinkedIn closed 2 months ago

Arun-LinkedIn commented 2 months ago

This can be used to write uploaded bytes to multiple readers. This is inspired from POC by @justinlin-linkedin here - https://github.com/linkedin/ambry/pull/2890!

codecov-commenter commented 2 months ago

Codecov Report

Attention: Patch coverage is 72.93233% with 36 lines in your changes missing coverage. Please review.

Project coverage is 67.35%. Comparing base (52ba813) to head (6642c1f). Report is 105 commits behind head on master.

Files with missing lines Patch % Lines
...ithub/ambry/commons/PipedAsyncWritableChannel.java 72.93% 19 Missing and 17 partials :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2898 +/- ## ============================================ + Coverage 64.24% 67.35% +3.11% - Complexity 10398 11441 +1043 ============================================ Files 840 863 +23 Lines 71755 73289 +1534 Branches 8611 8815 +204 ============================================ + Hits 46099 49364 +3265 + Misses 23004 21297 -1707 + Partials 2652 2628 -24 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.