How to override default MiNiFi Java agent properties
NiFi Properties Overrides: {
nifi.content.repository.archive.max.retention.period: 1 hour,
nifi.content.repository.archive.max.usage.percentage: 10%,
nifi.content.repository.archive.enabled: 'true'
}
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.

