我按照步骤。
在运行我的 NiFi 的 Windows 中下载了 MiNiFi c2 服务器。
使用给定名称的 NiFi UI 创建了一个模板
examplename iot-minifi-raspberry-agent.v1
Canged MiNiFi c2 属性端口 - 8080(U 也正在获取端口 10080 已在使用中)
更改了 minifi-c2-context.xml 属性
<constructor-arg> <value>http://localhost:9090/nifi/</value> </constructor-arg> in this url my nifi is working,so this only changed
我的 MiNiFi 在不同的 Windows 机器上运行。在那里我改变了引导属性,如下所示
---------------------------------------*****-------------- # Hostname on which to pull configurations from nifi.minifi.notifier.ingestors.pull.http.hostname=localhost # Port on which to pull configurations from nifi.minifi.notifier.ingestors.pull.http.port=8080 # Path to pull configurations from minifi.notifier.ingestors.pull.http.path=/c2/config # 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 -----------------------------------*****-------------------
现在所有更改都已完成我通过点击以下 URL 检查我的更改是否正确完成
http://localhost:8080/c2/config?class=iot-minifi-raspberry-agent.v1&version=1
我可以看到 yml 正在显示,但 MiNiFi 中已经存在
c2 -->files folder
我做错了什么或我的理解不正确?
任何帮助将非常感激。提前致谢