Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

NiFi Content Repository Alternate Archiving location

Explorer

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

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

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.