This project provides a user-friendly solution to design and deploy flows for both MiNiFi C++ and MiNiFi Java through the c2-protocol.
npm install
npm run build-server
npm run server
# In a separate terminal
npm run website
Then you can visit http://localhost:13405
to manage your agents, design and update flows.
append this to conf/minifi.properties
nifi.c2.enable=true
nifi.c2.flow.base.url=http://localhost:13405/api/flows
nifi.c2.rest.url=http://localhost:13405/api/heartbeat
nifi.c2.rest.url.ack=http://localhost:13405/api/acknowledge
nifi.c2.agent.class=<some class>
nifi.c2.agent.identifier=<some id>
append this to conf/bootstrap.conf
c2.enable=true
c2.rest.path.base=http://localhost::13405/api
c2.rest.path.heartbeat=http://localhost::13405/api/heartbeat
c2.rest.path.acknowledge=http://localhost::13405/api/acknowledge
c2.agent.class=<some class>
c2.agent.identifier=<some id>
There is an example configuration how to run the c2-server in docker with a single java and a single cpp agent.
cd examples/minifi
docker compose up
After that you can access it from http://localhost:13406/agents