Add a Document Registry Service

This section describes how to create a DocumentRegistryService controller service, to manage the dependency database.

To create the Document Registry controller service

  1. Right-click a blank area of the canvas, and click Controller Services.

    The Controller Services page opens.

  2. Click Create a new controller service .

    The Add Controller Service dialog box opens.

  3. In the list, click DocumentRegistryServiceImpl, and click Add.

    The new service is added.

  4. At the end of the row for the controller service, click followed by Edit.

    The Edit Controller Service dialog box opens.

  5. Click the Properties tab.

  6. 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.
  7. Click Apply.

    You are returned to the Controller Services page.

  8. Enable the service. At the end of the row for the controller service, click followed by Enable.

    The Enable Controller Service dialog box opens.

  9. Click Enable and then click Close.