You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Mark Payne (JIRA)" <ji...@apache.org> on 2016/01/04 23:58:39 UTC

[jira] [Created] (NIFI-1350) Kite Processors can use incorrect configuration files

Mark Payne created NIFI-1350:
--------------------------------

             Summary: Kite Processors can use incorrect configuration files
                 Key: NIFI-1350
                 URL: https://issues.apache.org/jira/browse/NIFI-1350
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
            Reporter: Mark Payne
             Fix For: 0.5.0


Currently the Kite Processors set a DefaultConfiguration when they are scheduled to run. The onTrigger() method (at least in the Avro-related processors) then uses this configuration by calling DefaultConfiguration.get().

This is essentially setting a global variable for the configuration files and then using that global variable in other Processors. If two processors are configured with different sets of configuration files, they both will end up using the configuration from whichever processor was most recently configured to run.



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