Nifi - 远程进程组 - PeerSelector

Nifi - Remote Process Group - PeerSelector

我建立了一个简单的进程组。它生成一个包含一些随机内容的 FlowFile,并将其发送到 Nifi 远程进程组。 此远程进程组配置为将 FlowFile 发送到本地主机,或者在这种情况下发送到我自己的主机名(我也尝试过本地主机)。

在此之后,FlowFile 应该出现在 "From MiNiFi" 输入端口并被发送到 LogAttribute。没什么特别的。

我配置为使用 RAW,但使用 HTTP 时它都不起作用。

我正在使用 apache/nifi docker 图像并且没有更改 nifi.properties 和 authorizers.xml 中的某些内容但是我当然会为您提供:

nifi.properties

authorizers.xml

发生的错误是这样的:

WARNING org.apache.nifi.remote.client.PeerSelector@40081613 Unable to refresh Remote Group´s peers due to Unable to communicate with remote Nifi cluster in order to determine which nodes exist in the remote cluster

希望你能帮助我。我在这个问题上浪费了太多时间 XD

在 nifi.properties 中你有 nifi.web.http.host=f4f40c87b65f 这意味着 NiFi 正在侦听请求的主机名是 f4f40c87b65f 这意味着你的 RPG 的 URL 必须是 http://f4f40c87b65f:8080/nifi