I need to use wait processor for terminating invokehttp processor in case of failure, I have tried this - [https://stackoverflow.com/questions/43915412/how-to-use-wait-notify-processor]
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)
The Wait processor works with the Notify processor.
The configuration of the Wait processor:
Here is the configuration of the Notify processor that will be a trigger for the Wait processor:
Here are the DistributedMapCacheClientService and DistributedMapCacheServer controller services being used by these processors and their configurations.
It is better to put the actual hostname instead of just localhost.
The DistributedMapCacheClientService controller service needs to have a DistributedMapCacheServer controller service configured.
Replace the PutDistributedMapCache processor with the Notify processor in your flow.
I have successfully implemented all this (thank you for your answer) but it seems that it isn't good solution for my task,can you recommend me any internal command which can help me stopping another processor by compilig script in executescript processor
How can i add DistributedCashMapServer without putDistributedMap processor? why did you replace localhots withnifi-sme-19 ?