[
https://issues.apache.org/jira/browse/NIFI-3240?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15795284#comment-15795284
]
ASF subversion and git services commented on NIFI-3240:
-------------------------------------------------------
Commit 1b4729e448394177cddeccb700f9215d6ec7b570 in nifi's branch
refs/heads/master from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=1b4729e ]
NIFI-3240 - AttributesToJson performance improvements
This closes #1352.
Signed-off-by: Bryan Bende <[email protected]>
> 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
> 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)