mdedetrich opened a new pull request, #2467: URL: https://github.com/apache/pekko/pull/2467
One interesting facet when working on the compression code is that while the `compress` method in `CompressionUtils` is used in tests, its actually never actually used in production. Only `compressAndFlush` is used in production, hence this PR makes the flush behaviour of pekko-stream compression configurable, solving https://github.com/akka/akka/issues/21849. Tests have been added to make sure that this behaviour works as expected. Also this PR is required for https://github.com/apache/pekko/pull/2409 as I also want the flush behaviour to be configurable in that too and I need to reuse the newly added `autoFlush` parameter on `CompressionUtils`. Docs have also been modified to reflect the changes. The PR can be safely backported to 1.3.0 branch hence the `@since 1.3.0`. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
