@Amit Khandelwal
In DistributeMapCacheServer we can define Persistence Directory value
If specified, the cache will be persisted in the given directory; if not specified, the cache will be in-memory only.
If we define persistence directory then NiFi will not wipes out the data if server is restarted.