[ https://issues.apache.org/jira/browse/NIFI-3240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aldrin Piri updated NIFI-3240: ------------------------------ Description: 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() was: SplitJson 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() > 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 > > 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)