我对 NiFi 有点挑战……确切地说是 MiNiFi。我们使用 MiNiFi 将日志从远程系统传送到 NiFi 实例,从那里传送到 Kafka 和 Elasticsearch。我们可以在没有 https 的情况下成功地做到这一点,但是,最近我的任务是使用 https 安全地做同样的事情。
使用证书,我可以连接到 NiFi UI,挑战是 MiNiFi 无法连接到远程 NiFi 上的 RPG,并出现错误“无法在 URI https://xxxx.com:9443/nifi与远程 NiFi 通信由于:收到致命警报:handshake_failure”。我怀疑这是因为以下错误
2018-07-23 16:27:23,083 INFO [main] o.apache.nifi.controller.FlowController 未启用 RAW Socket 站点到站点功能,因为未设置 nifi.remote.input.socket.port
2018-07-23 16:27:23,083 INFO [main] o.apache.nifi.controller.FlowController 由于“nifi.remote.input.http.enabled”属性为不对
我试图在 MiNiFi 的 nifi.properties 文件中设置这些属性,但每次重新启动时该文件总是被覆盖并加载默认值。请问,您对如何解决此问题有任何想法吗?
如何在启动时在 config.yml 文件或任何其他位置引导这些设置?