You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Mark Bean (Jira)" <ji...@apache.org> on 2022/05/20 04:29:00 UTC

[jira] [Assigned] (NIFI-5378) NiFiProperties: Add check to validation to prevent startup when duplicate keys are encountered

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

Mark Bean reassigned NIFI-5378:
-------------------------------

    Assignee: Mark Bean

> NiFiProperties: Add check to validation to prevent startup when duplicate keys are encountered
> ----------------------------------------------------------------------------------------------
>
>                 Key: NIFI-5378
>                 URL: https://issues.apache.org/jira/browse/NIFI-5378
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Configuration
>    Affects Versions: 1.7.0
>            Reporter: Jon Kessler
>            Assignee: Mark Bean
>            Priority: Minor
>
> Currently duplicate keys can exist in the nifi.properties file and you aren't necessarily guaranteed or sure which value will be used when the system starts. There is already a method in NiFiProperties.java for validation at startup. Logic should be added so that when duplicates are encountered the system is notĀ permitted to start. Also include a good log message to say what the duplicates are and what the issue was.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)