Skip to main content
drewski7
Gold ⭐️⭐️
May 31, 2023 10:10 PM UTC
Question

NiFi Distributed Map Cache Persisting

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

steven-matison
Platinum ⭐️⭐️
Platinum ⭐️⭐️
Jun 1, 2023 1:31 PM UTC

@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.

Translate