Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

apache-nifi: distributedMapCacheServer how to start

Tags:

apache-nifi

perhaps these will look as a silly questions: I have no idea how to use the DistributedMapCacheServer. How do I start it ? Is it supposed to be within nifi or do I have install it as secondary package ?

like image 516
ozw1z5rd Avatar asked Oct 21 '16 13:10

ozw1z5rd


2 Answers

The DistributedMapCacheServer can be started just like any other Controller Service, by configuring it to be valid and hitting the "start" button.

The unique thing about the DistributedMapCacheServer is that processors work with the cache by utilizing a DistributedMapCacheClientService[1]. So you will create both a Server and Client Service. Then configure the processor to use the Client Service. Next start both the server and service. Finally start the processor.

[1] https://nifi.apache.org/docs/nifi-docs/components/org.apache.nifi.distributed.cache.client.DistributedMapCacheClientService/index.html

like image 198
JDP10101 Avatar answered Sep 28 '22 01:09

JDP10101


To start DistributedMapCacheServer , you need to first create it . It will be created through NiFi UI ,by selecting the controller setting tab from the top right side menu .click on + button and add DistributedMapCacheServer . configure it and enable it .

like image 39
udyan Avatar answered Sep 28 '22 03:09

udyan