Apache-nifi-data-provenance

提供:Dev Guides
移動先:案内検索

Apache NiFi-データ起源

Apache NiFiは、フロー内の取り込まれたデータで発生したイベントに関するすべての情報をログに記録して保存します。 データ来歴リポジトリはこの情報を保存し、このイベント情報を検索するためのUIを提供します。 データの出所には、完全なNiFiレベルおよびプロセッサレベルでもアクセスできます。

データ起源

次の表は、NiFi Data Provenanceイベントリストのさまざまなフィールドのリストです。次のフィールドがあります-

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 Data Provenance 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.