Created on 06-26-202008:18 AM - edited on 06-29-202011:31 PM by VidyaSargur
The MiNiFi Java agent builds the nifi.properties file from default values and the ones exposed in the config.yml. To override the default values not exposed in the config.yml, a property must be added to the config.yml in the NiFi Properties Overrides section.
For example, content archiving is disabled by default. To enable this, add the following in the config.yml file:
Then, save the config.yml and restart the agent. If you look at the nifi.properties file, you will see the updated values.
NOTE: This is a known issue (internal bug CEM-967) when using the Edge Flow Manager (EFM) to publish flows to the Java agent. When a new flow is published, the agent does not retain the overridden properties. Hence, the properties have to be re-entered manually and then the agent has to be restarted.