我已经浏览了以下文档链接
https://nifi.apache.org/docs/nifi-docs/html/developer-guide.html#reporting-tasks
但我仍然需要一个示例或工作流程及其在 NiFi 中的使用
最佳答案
ReportingTask 是一种将指标和统计数据等信息从 NiFi 推送到外部系统的方法。它是您在 Controller 设置中定义的全局组件,类似于 Controller 服务,因此它不在 Canvas 上。
可用的报告任务位于处理器下方的文档中:
https://nifi.apache.org/docs.html
您还可以查看 NiFi 代码中的示例:
https://github.com/apache/nifi/tree/master/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-reporting-tasks
https://github.com/apache/nifi/tree/master/nifi-nar-bundles/nifi-ambari-bundle/nifi-ambari-reporting-task
关于hortonworks-data-platform - Nifi中报告任务如何处理以及有什么用?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39228702/