我已经建立了一个简单的流程组。它生成一个包含一些随机内容的 FlowFile,并将其发送到 Nifi Remote Process Group。这个远程进程组被配置为将 FlowFile 发送到 localhost,或者在这种情况下发送到我自己的主机名(我也尝试过 localhost)。
在此之后,FlowFile 应该出现在“From MiNiFi”输入端口并被发送到 LogAttribute。没什么特别的。
我配置为使用 RAW,但使用 HTTP 它既不工作。
我正在使用 apache/nifi docker 映像,并没有更改 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