Search code examples
apache-nifi

automate configuration of DistributedMapCacheLookupService service


I am trying to automate the deployment of Nifi with a DistributedMapCacheLookupService. It doesn't appear to be saved as part of the template and I don't see a way to create it using the REST API. Is this possible?


Solution

  • You can POST to the /controller/controller-services endpoint, it will create a new Controller Service for the whole controller ("above" the root Process Group even, like where Reporting Tasks are defined), the details are in the REST API docs under "Controller"