mdedetrich commented on code in PR #2405:
URL: https://github.com/apache/pekko/pull/2405#discussion_r2464871207


##########
stream/src/main/scala/org/apache/pekko/stream/javadsl/Compression.scala:
##########
@@ -24,9 +24,19 @@ object Compression {
    * Creates a Flow that decompresses gzip-compressed stream of data.
    *
    * @param maxBytesPerChunk Maximum length of the output 
[[pekko.util.ByteString]] chunk.
+   * @since 1.3.0
    */
+  def gzipDecompress(maxBytesPerChunk: Int): Flow[ByteString, ByteString, 
NotUsed] =
+    scaladsl.Compression.gzipDecompress(maxBytesPerChunk).asJava
+
+  /**
+   * Creates a Flow that decompresses gzip-compressed stream of data.
+   *
+   * @param maxBytesPerChunk Maximum length of the output 
[[pekko.util.ByteString]] chunk.
+   */
+  @deprecated("Use gzipDecompress instead", "Pekko 1.3.0")
   def gunzip(maxBytesPerChunk: Int): Flow[ByteString, ByteString, NotUsed] =

Review Comment:
   Yes after its merged



-- 
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]

Reply via email to