You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Bryan Bende (JIRA)" <ji...@apache.org> on 2017/01/03 15:24:58 UTC

[jira] [Resolved] (NIFI-3240) AttributesToJson performance improvements

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

Bryan Bende resolved NIFI-3240.
-------------------------------
    Resolution: Fixed

> AttributesToJson performance improvements
> -----------------------------------------
>
>                 Key: NIFI-3240
>                 URL: https://issues.apache.org/jira/browse/NIFI-3240
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Bryan Rosander
>            Assignee: Bryan Rosander
>            Priority: Minor
>             Fix For: 1.2.0
>
>         Attachments: after.png, before.png
>
>
> AttributesToJson does a lot of work in every onTrigger() that it doesn't need to.
> A lot of the attributes map logic can be done at schedule time so that it doesn't need to be done on every trigger.
> Also, all of the properties gotten from the process context can be fetched in onSchedule()



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)