and added DistributeCashMapServerService by PutDistributeMapCachProcessor (I have made host:localhost with port 4557 for both DistributeMapCachclient and server service), but both of them still throws execpetion:Should I change server port? Or configure it another way?
(P.S I have uploaded picture of error itself and my workflow in nifi)
Did you add DistributedMapCacheServer controller service?
As written in the Stackoverflow thread, you need two controller services:
To add one, you need to open Controller Services tab by either:
Clicking the gear icon on the 'Operate' palette, or select 'Controller
Settings' from a hamburger menu on top right, then click the 'Plus'
icon, and select DistributedMapCacheServer.
From your explanation, "added DistributeCashMapServerService by
PutDistributeMapCachProcessor", I suspect you added another
DistributedCacheCLIENT. You need a server.
DistributedCacheServer listens to the specified port and act as a
KeyValue cache storage so that different processors can put/get and
This is a client to communicate with a cache server.
Please double check you have above controller services.