This section describes how to create a DocumentRegistryService controller service, to manage the dependency database.
To create the Document Registry controller service
In the Operate Palette, click Configuration .
The NiFi Flow Configuration dialog box opens.
Click Create a new controller service .
The Add Controller Service dialog box opens.
In the list, click DocumentRegistryServiceImpl, and click ADD.
The new service is added.
At the end of the row for the controller service, Configure .
The Configure Controller Service dialog box opens.
Click the Properties tab.
Set one of the following properties:
Database Service | A database service to use to communicate with an external database. Your document registry service must store information in an external database if you want to run an Apache NiFi cluster. For more information about creating the database service, see Create a Database Service. |
Document registry directory | The path to the directory in which to store the database. If you want to run an Apache NiFi cluster, use an external database by setting the Database Service property instead. |
Click Apply.
You are returned to the NiFi Flow Configuration dialog box.
Enable the service. At the end of the row for the controller service, click Enable .
The Enable Controller Service dialog box opens.