Name | Description |
---|---|
success | FlowFiles will be transferred to the success relationship after successfully being compressed or decompressed |
failure | FlowFiles will be transferred to the failure relationship if they fail to compress/decompress |
Name | Description |
---|---|
mime.type | If the Compression Format is set to use mime.type attribute, this attribute is used to determine the compression type. Otherwise, this attribute is ignored. |
Name | Description |
---|---|
mime.type | If the Mode property is set to compress, the appropriate MIME Type is set. If the Mode property is set to decompress and the file is successfully decompressed, this attribute is removed, as the MIME Type is no longer known. |
Compress the contents of a FlowFile
"Mode" = "compress"
"Compression Format" should be set to whichever compression algorithm should be used.
Decompress the contents of a FlowFile
"Mode" = "decompress"
"Compression Format" should be set to whichever compression algorithm was used to compress the data previously.
Check whether or not a FlowFile is compressed and if so, decompress it.
If IdentifyMimeType determines that the content is not compressed, CompressContent will pass the FlowFile along to the 'success' relationship without attempting to decompress it.
Default property values are sufficient.
Connect the 'success' relationship to CompressContent.
"Mode" = "decompress"
"Compression Format" = "use mime.type attribute"
Resource | Description |
---|---|
CPU | An instance of this component can cause high usage of this system resource. Multiple instances or high concurrency settings may result a degradation of performance. |
MEMORY | An instance of this component can cause high usage of this system resource. Multiple instances or high concurrency settings may result a degradation of performance. |