📜  Apache NiFi-数据来源

📅  最后修改于: 2020-11-18 08:44:18             🧑  作者: Mango


Apache NiFi会记录并存储有关流中已提取数据上发生的事件的所有信息。数据来源存储库存储此信息,并提供UI来搜索此事件信息。可以访问完整的NiFi级别和处理器级别的数据源。

资料来源

下表列出了NiFi数据来源事件列表中的不同字段,其中包含以下字段-

S.No. Field Name Description
1 Date/Time Date and time of event.
2 Type Type of Event like ‘CREATE’.
3 FlowFileUuid UUID of the flowfile on which the event is performed.
4 Size Size of the flowfile.
5 Component Name Name of the component which  performed the event.
6 Component Type Type of the component.
7 Show lineage Last column has the show lineage icon, which is used to see the flowfile lineage as shown in the below image.

世系图标

要获取有关事件的更多信息,用户可以单击NiFi数据出处UI的第一列中显示的信息图标。

nifi.properties文件中有一些属性,用于管理NiFi Data Provenance存储库。

S.No. Property Name Default Value Description
1 nifi.provenance.repository.directory.default ./provenance_repository To specify the default path of NiFi data provenance .
2 nifi.provenance.repository.max.storage.time 24 hours To specify the maximum retention time of NiFi data provenance.
3 nifi.provenance.repository.max.storage.size 1 GB To specify the maximum storage of NiFi data provenance.
4 nifi.provenance.repository.rollover.time 30 secs To specify the rollover time of NiFi data provenance.
5 nifi.provenance.repository.rollover.size 100 MB To specify the rollover size of NiFi data provenance.
6 nifi.provenance.repository.indexed.fields EventType, FlowFileUUID, Filename, ProcessorID, Relationship To specify the fields used to search and index NiFi data provenance.