Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
When a bulletin is generated, it typically includes the FlowFile that is contained within the bulletin. The output looks something like this:
Unable to decompress StandardFlowFileRecord[uuid=c8d3f008-d6b4-481a-a765-8fbe32d28613,claim=StandardContentClaim [resourceClaim=StandardResourceClaim[id=1645815873003-83, container=default, section=83], offset=5242880, length=1048576],offset=0,name=c8d3f008-d6b4-481a-a765-8fbe32d28613,size=1048576] using gzip compression format due to org.apache.nifi.processor.exception.ProcessException: IOException thrown from CompressContent[id=b35630ab-81fc-1a66-ffff-fffff2856e8a]: java.io.IOException: java.io.IOException: Input is not in the .gz format; routing to failure: java.io.IOException: Input is not in the .gz format
The syntax StandardFlowFileRecord[uuid=...,claim=..., size=...] can be useful in logs and should remain as it is. However, in a bulletin, it is too verbose and makes the bulletin difficult to read. The UUID is unlikely to be helpful in a bulletin, either, as it can't really be copied & pasted. We should instead use an output such as:
FlowFile[filename=abc.txt]
Attachments
Issue Links
- links to