Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

NiFi Content Repository Alternate Archiving location

Highlighted

NiFi Content Repository Alternate Archiving location

New Contributor

Is there a way to archive files to an alternate directory than the current content repo?

I'm looking to run nifi in volatile mode (keep all content in ram) and then archive the data to a place on the disk.

The reason why I just don't have a putfile processor, just archive the data, is because the content will not be able to be replayed from provenance.

Thank you!

1 REPLY 1

Re: NiFi Content Repository Alternate Archiving location

Super Guru
@John T

If you set content repository to volatile then you don't get to persist it. It's one or the other. Please see the following link to configure your content repository. You can have multiple directories which you can use for content repositories by specifying nifi.content.repository.directory. prefix with unique suffixes and separate paths as values.

https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#content-repository

Don't have an account?
Coming from Hortonworks? Activate your account here