[ 
https://issues.apache.org/jira/browse/NIFI-9731?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Payne updated NIFI-9731:
-----------------------------
    Fix Version/s: 1.16.0
           Status: Patch Available  (was: Open)

> The toString() of a FlowFile is too verbose for bulletins
> ---------------------------------------------------------
>
>                 Key: NIFI-9731
>                 URL: https://issues.apache.org/jira/browse/NIFI-9731
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Minor
>             Fix For: 1.16.0
>
>
> When a bulletin is generated, it typically includes the FlowFile that is 
> contained within the bulletin. The output looks something like this:
> {code:java}
> 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 {code}
> 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:
> {code:java}
> FlowFile[filename=abc.txt] {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to