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.count
is not relevant to a Write Ahead configuration -
nifi.provenance.repository.concurrent.merge.threads
andnifi.provenance.repository.warm.cache.frequency
are new properties. The default values of2
for 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.size
from the default value of500 MB
to4 GB
-
Change
nifi.provenance.repository.index.threads
from the default value of2
to either4
or8
as the Write Ahead repository enables this to scale better -
If processing a high volume of events, change
nifi.provenance.repository.rollover.time
from a default of30 secs
to1 min
andnifi.provenance.repository.rollover.size
from the default of100 MB
to1 GB
Once these property changes have been made, restart NiFi.