System Properties
Many of the same system properties are supported by both the Persistent and Write Ahead configurations, however the default values have been chosen for a Persistent Provenance configuration. The following exceptions and recommendations should be noted when changing to a Write Ahead configuration:
-
nifi.provenance.repository.journal.countis not relevant to a Write Ahead configuration -
nifi.provenance.repository.concurrent.merge.threadsandnifi.provenance.repository.warm.cache.frequencyare new properties. The default values of2for threads and blank for frequency (i.e. disabled) should remain for most installations. -
Change the settings for
nifi.provenance.repository.max.storage.time(default value of24 hours) andnifi.provenance.repository.max.storage.size(default value of1 GB) to values more suitable for your production environment -
Change
nifi.provenance.repository.index.shard.sizefrom the default value of500 MBto4 GB -
Change
nifi.provenance.repository.index.threadsfrom the default value of2to either4or8as the Write Ahead repository enables this to scale better -
If processing a high volume of events, change
nifi.provenance.repository.rollover.timefrom a default of30 secsto1 minandnifi.provenance.repository.rollover.sizefrom the default of100 MBto1 GB
Once these property changes have been made, restart NiFi.

