[
https://issues.apache.org/jira/browse/NIFI-5378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Bean updated NIFI-5378:
----------------------------
Affects Version/s: 1.16.1
Status: Patch Available (was: In Progress)
> 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.16.1, 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)