Configuring your MiNiFi Java agent

After you install the MiNiFi Java agent, you need to update the configuration files.

If you want to configure your agent, use the conf/bootstrap.conf configuration file.

The MiNiFi java agent creates an auto-generated file at every startup. You should not use it for general agent configuration. If you want to override any property set in, you can do it using the NiFi Properties Overrides section at the end of the config.yml file.

For example, to change the content repository location, you need to override the default path:
NiFi Properties Overrides: {[***/path/to/repos/content***]

Follow these steps to configure the MiNiFi Java agent:

  1. From the MiNiFi home directory, open the bootstrap.conf configuration file.
  2. Configure the agent class so that you can logically group MiNiFi Java instances according to their functionality.
  3. Configure the ID of the agent. If you do not specify an agent ID, MiNiFi generates a unique ID per agent instance.
  4. Set the c2.enable property to true to inform MiNiFi that run time flow instructions will be received from EFM.
  5. Configure your EFM server endpoint:[***REST API_BASE URL***][***HEARTBEAT_RELATIVE URL***][***ACKNOWLEDGE ENDPOINT_RELATIVE URL***]
    For example:
  6. Configure your heartbeat interval:
  7. Configure the config directory to be used by MiNiFi:
  8. Configure the C2 runtime properties:
  9. Configure MiNiFi to recognise the changes in the config.yml file during publishing:
  10. Restart the agent.