Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

NiFi Distributed Map Cache Persisting

avatar
Expert Contributor

I have a multinode NiFi Cluster running in Docker Containers and I configured the DistributeMapCacheClient and DistributedMapCacheServer to point to a particular container's hostname and set the persistence directory property such that each node in the cluster uses the same Map Cache.

 

I want to make that the MapCache persists even after I restart the container or create a new container. How would I configure that to happen?

1 REPLY 1

avatar

@drewski7   I think the solution you are looking for is to use one of the alternative data stores that lives outside of NiFi with the map cache.  The options are Redis, Hbase, Cassandra, Couchbase:

 

Screen Shot 2023-06-01 at 9.30.28 AM.png

 

They will give you greater control and they are preferred for production and large volumes.