How does it work?
The WriteAheadProvenanceRepository
was introduced in NiFi 1.2.0
and provided a refactored and much faster provenance repository implementation than the
previous PersistentProvenanceRepository
. The encrypted version wraps
that implementation with a record writer and reader which encrypt and decrypt the
serialized bytes respectively.
The fully qualified class
org.apache.nifi.provenance.EncryptedWriteAheadProvenanceRepository
is specified as the provenance repository implementation in
nifi.properties
as the value of
nifi.provenance.repository.implementation
. In addition, new properties must be populated to allow successful initialization.