Hey @Raymond Honderdors .. all good mate. This issue is now fixed. I had to rename my template to have the suffix .v1. I ignored that which is why I wasnt getting the config.yml . Its all sorted now and its working fine.
Thanks again for all your help
Hi Abhinav,Did u receive below error while working on above implementation
o.a.n.m.b.c.i.PullHttpChangeIngestor Hit an exception while trying to pull java.net.ConnectException: Failed to connect to /127.0.0.1:10080
I checked both the windows system ,firewall is open .checked by using ping coomand.
Hi Abhinav, I am doing the same POC connect MINIFI NIFI using minifi c2 .Could you please guide us on this .As of now we have done minifi to nifi connectivity-Receiving data to nifi end , generated from minifi agent but now have to use minifi c2 controller.Please help buddy.
What i have understood Minifi c2 and nifi should be in same machine and minifi in another machine(windows)
then did some configuration changes and try to run minifi c2 but getting error .
I am following below link
I follow the steps.
1. downloaded minif c2 server in windows where my nifi is running.
2.created a template using nifi ui with name given examplename iot-minifi-raspberry-agent.v1
3.changed minifi c2 property port -8080 (i was also getting port 10080 is already in use)
4.changed minifi-c2-context.xml property
----> <constructor-arg> <value>http://localhost:9090/nifi/</value> </constructor-arg> in this url my nifi is working,so this only changed
5.my minifi is running in different windows machine there i changed bootstrap property like below
# Hostname on which to pull configurations from
# Port on which to pull configurations from
# Path to pull configurations from
# Query string to pull configurations with
nifi.minifi.notifier.ingestors.pull.http.query=class=iot-minifi-raspberry-agent ----// name of my template ?? should i use version also like .v1
# Period on which to pull configurations from, defaults to 5 minutes if commented out nifi.minifi.notifier.ingestors.pull.http.period.ms=60000
6.now all changes are done now checking whether my changes are done correctly by hitting below url --
I can see yml is showing but that is already present in minifi c2 -->files folder ,
Any help would be really appreciated.Thanks in advance
Hi @Vipin Chourasia ..apologies , for not being able to respond earlier . I have prepared a document to go through all this . Its a big document , can you give me your email id . I will flick it through .. I also went through the same issues but now our C2 is working very well.
Thanks for reply Abhinav.You can't imagine how much relax i am feeling now .I was chashing you from many days.even i have tried to contact Abdelkrim Hadjidj for https://medium.freecodecamp.org/building-an-iiot-system-using-apache-nifi-mqtt-and-raspberry-pi-ce1d... // Pls find my email id -firstname.lastname@example.org any further issue Pls guide me.
The current status of my POC is - I am able to create data flow between minifi(more than 2 system )and NIFI but stuck in C2 server configuration. I have done setup in windows machine.Thanks again Abhi
Hi @Vipin Chourasia . sorry mate . I know this is something that is very new and there is hardly any material out there . I also chased Abdelkrim :-) but didnt get any response. hahaha. Anyways .. sent you the document now. Have a read through