Support Questions

Find answers, ask questions, and share your expertise

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.