[
https://issues.apache.org/jira/browse/NIFI-1021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14942776#comment-14942776
]
Joseph Witt commented on NIFI-1021:
-----------------------------------
Today there are two primary methods supported.
One is a pull model whereby a client to NiFi that wants the provenance data can
run queries against the REST API to get this data.
The other is the implementation of a ReportingTask which can stream these
events to an external service.
If the need is for 'some' of the data or more 'ad-hoc' in nature the pull model
is probably best. If the need is for 'most' or 'all' then the push model is
probably best.
Thanks
Joe
> Expose strategy to subscribe to provenance events
> -------------------------------------------------
>
> Key: NIFI-1021
> URL: https://issues.apache.org/jira/browse/NIFI-1021
> Project: Apache NiFi
> Issue Type: New Feature
> Components: Core Framework
> Affects Versions: 0.3.0
> Reporter: Oleg Zhurakousky
>
> Currently access to the provenance events is exposed thru ReportingTask which
> is scheduled and therefore provides a "near-real-time" access to provenance
> events.
> There are several valid use cases where such events may need to be streamed
> in "real-time" for variety of real time analytics.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)