Write Ahead Provenance Repository
By default, the Provenance Repository is implemented in a Persistent Provenance configuration. In Apache NiFi 1.2.0, the Write Ahead configuration was introduced to provide the same capabilities as Persistent Provenance, but with far better performance. Migrating to the Write Ahead configuration is easy to accomplish. Simply change the setting for the nifi.provenance.repository.implementation
system property in the nifi.properties
file from the default value of org.apache.nifi.provenance.PersistentProvenanceRepository
to org.apache.nifi.provenance.WriteAheadProvenanceRepository
and restart NiFi.
However, to increase the chances of a successful migration consider the following factors and recommended actions.