Github user alopresto commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/1713#discussion_r114130189
  
    --- Diff: nifi-docs/src/main/asciidoc/administration-guide.adoc ---
    @@ -2110,18 +2110,19 @@ To store provenance events in memory instead of on 
disk (in which case all event
     set this property to 
org.apache.nifi.provenance.VolatileProvenanceRepository. This leaves a 
configurable number of Provenance Events in the Java heap, so the number
     of events that can be retained is very limited.
     
    -As of Apache NiFi 1.2.0, a third option is available: 
org.apache.nifi.provenance.WriteAheadProvenanceRepository.
    -This implementation was created to replace the 
PersistentProvenanceRepository. The PersistentProvenanceRepository was 
originally written with the simple goal of persisting
    +As of Apache NiFi 1.2.0, a third and fourth option are available: 
`org.apache.nifi.provenance.WriteAheadProvenanceRepository` and 
`org.apache.nifi.provenance.EncryptedWriteAheadProvenanceRepository`.
    +This implementation was created to replace the 
`PersistentProvenanceRepository`. The `PersistentProvenanceRepository` was 
originally written with the simple goal of persisting
     Provenance Events as they are generated and providing the ability to 
iterate over those events sequentially. Later, it was desired to be able to 
compress the data so that
     more data could be stored. After that, the ability to index and query the 
data was added. As requirements evolved over time, the repository kept changing 
without any major
    -redesigns. When used in a NiFi instance that is responsible for processing 
large volumes of small FlowFiles, the PersistentProvenanceRepository can 
quickly become a bottleneck.
    -The WriteAheadProvenanceRepository was then written to provide the same 
capabilities as the PersistentProvenanceRepository while providing far better 
performance.
    -Changing to the WriteAheadProvenanceRepository is easy to accomplish, as 
the two repositories support most of the same properties.
    -*Note Well*, however, the follow caveat: The 
WriteAheadProvenanceRepository will make use of the Provenance data stored by 
the PersistentProvenanceRepository. However, the
    --- End diff --
    
    Will do. Thanks. 


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to