Hi Mike,

What I would suggest is :
GFF (scheduled every 1s) -> LogAttribute (scheduled every 5s)
And expiration set to 1s on success relationship.
You should have about 1FF for 5 going through LogAttribute.

Pierre


2017-11-10 15:32 GMT+01:00 Michael Hogue <[email protected]>:

> All,
>
>    I'm working on NIFI-620 <https://issues.apache.org/jira/browse/NIFI-620
> >,
> which is to add expired FlowFile count to the Status History UI for
> connections, and i've gotten to a point that i'm ready to test this but i'm
> having trouble forcing FlowFiles to expire. I've created this flow [1] with
> 1ns FlowFile expirations, but no luck.
>
>    Is there an easy way to force FlowFiles to be expired at a connection so
> i can verify that my changes are being presented in the UI? Reading through
> the code, it seems that it shouldn't be too difficult but possibly i'm
> missing something.
>
> Thanks,
> Mike
>
> [1] https://gist.github.com/m-hogue/a115c1bbc2423e4d9f7010acd408b0ad
>

Reply via email to