After you install the MiNiFi agent, you need to update the configuration
files.
If you are configuring a MiNiFi Java agent the configuration file is
conf/bootstrap.conf. If you are configuring a MiNiFi C++
agent, the file is conf/minifi.properties. For more information
on MiNiFi C++ agent system propties, see MiNiFi C++ system
properties.
-
From the MiNiFi home directory, open the appropriate configuration file.
-
Configure the Agent Class so that you can logically group MiNiFi instances
according to their functionality. Specify the agent class:
nifi.c2.agent.class={AGENT_CLASS}
-
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}
-
Set the
nifi.c2.enable
property to true to inform MiNiFi that
run time flow instructions will be received from EFM.
-
Configure your EFM Server endpoint:
nifi.c2.rest.url=http://{EFM_SERVER_IP}:10080/efm/api/c2-protocol/heartbeat
nifi.c2.rest.url.ack=http://{EFM_SERVER_IP}:10080/efm/api/c2-protocol/acknowledge
-
Configure your heartbeat interval:
nifi.c2.agent.heartbeat.period={HEARTBEAT_INTERVAL}
-
If you are installing a MiNiFi C++ Agent, you may also configure metrics.
Metrics are not yet available for the MiNiFi Java Agent.
nifi.c2.agent.protocol.class=RESTSender
For supported processors for MiNiFi Java and MiNiFi C++, see MiNiFi
Java agent processor support and MiNiFi C++ Agent processor
support.
.