Configuring MiNiFi C++ agent

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

If you are configuring a MiNiFi C++ agent, the file is conf/minifi.properties. For more information on MiNiFi C++ agent system properties, see MiNiFi C++ system properties.

  1. From the MiNiFi home directory, open the configuration file.
  2. Configure the agent class so that you can logically group MiNiFi C++ instances according to their functionality.
    nifi.c2.agent.class={AGENT_CLASS}
  3. Configure the agent ID. If you do not specify an agent ID, MiNiFi generates a unique ID per agent instance.
    nifi.c2.agent.identifier={AGENT_ID}
  4. Set the nifi.c2.enable property to true to inform MiNiFi that run time flow instructions will be received from EFM.
    nifi.c2.enable=true
  5. Configure your EFM Server endpoint:
    nifi.c2.rest.url=http://{EFM_SERVER_IP}:10090/efm/api/c2-protocol/heartbeat
    nifi.c2.rest.url.ack=http://{EFM_SERVER_IP}:10090/efm/api/c2-protocol/acknowledge
  6. Configure your heartbeat interval:
    nifi.c2.agent.heartbeat.period={HEARTBEAT_INTERVAL}
  7. Optional. Configure metrics for your MiNiFi C++ agent.
    nifi.c2.agent.protocol.class=RESTSender

    For supported processors MiNiFi C++, see MiNiFi C++ Agent processor support.

    .