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

David Handermann updated NIFI-5378:
-----------------------------------
    Fix Version/s: 1.17.0
       Resolution: Fixed
           Status: Resolved  (was: Patch Available)

> 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, 1.16.1
>            Reporter: Jon Kessler
>            Assignee: Mark Bean
>            Priority: Minor
>             Fix For: 1.17.0
>
>          Time Spent: 4h
>  Remaining Estimate: 0h
>
> 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)

Reply via email to