You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Daniel Stieglitz (Jira)" <ji...@apache.org> on 2025/07/30 16:43:00 UTC

[jira] [Created] (NIFI-14804) Update the use of deprecated GzipCompressorInputStream and ZstdCompressorOutputStream constructors with API suggested replacement

Daniel Stieglitz created NIFI-14804:
---------------------------------------

             Summary: Update the use of deprecated GzipCompressorInputStream and ZstdCompressorOutputStream constructors with API suggested replacement
                 Key: NIFI-14804
                 URL: https://issues.apache.org/jira/browse/NIFI-14804
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Daniel Stieglitz
            Assignee: Daniel Stieglitz


In Apache Commons-Compress the constructors for classes
{code:java}
org.apache.commons.compress.compressors.gzip.GzipCompressorInputStream{code}
and
{code:java}
org.apache.commons.compress.compressors.zstandard.ZstdCompressorOutputStream{code}
have been deprecated and the replacement are builder classes to instantiate them. This ticket addresses the need to replace the use of the deprecated constructors with their associated builder classes.

Associated warnings
{code:java}
2025-07-30T12:09:04.9462187Z [WARNING] /home/runner/work/nifi/nifi/nifi-extension-bundles/nifi-compress-bundle/nifi-compress-processors/src/main/java/org/apache/nifi/proce
ssors/compress/ModifyCompression.java:[282,25] [deprecation] GzipCompressorInputStream(InputStream,boolean) in GzipCompressorInputStream has been deprecated
2025-07-30T12:09:04.9464790Z [WARNING] /home/runner/work/nifi/nifi/nifi-extension-bundles/nifi-compress-bundle/nifi-compress-processors/src/main/java/org/apache/nifi/proce
ssors/compress/ModifyCompression.java:[352,33] [deprecation] ZstdCompressorOutputStream(OutputStream,int) in ZstdCompressorOutputStream has been deprecated{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)