How does one setup a Distributed Map Cache for NiFi?

前端 未结 2 1617
无人共我
无人共我 2020-12-11 03:49

I\'m brand new to NiFi and simply playing around with processors.

I\'m trying to incorporate Wait and Notify processors in my testing, bu

2条回答
  •  天命终不由人
    2020-12-11 04:19

    the DistributedMapCacheClientService and DistributedMapCacheServer does not require additional software.

    To create these services, right-click on the canvas, select Configure and then select the Controller Services tab. You can then add new services by clicking the + button on the right and searching by name.

    1. create DistributedMapCacheServer with default parameters (port 4557) and enable it. this will start built-in cache server.

    2. create DistributedMapCacheClientService with hostname localhost and other default parameters and enable it

    3. create a simple flow GenerateFlowFile set the run schedule and not zero bytes size in parameters. connect it to PutDistributedMapCache set Entry Identifier as Key01 and choose your DistributedMapCacheClientService

    try to run it. and if port 4557 not used by other software the put cache should work.

提交回复
热议问题