[
https://issues.apache.org/jira/browse/NIFI-1021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14953894#comment-14953894
]
ASF GitHub Bot commented on NIFI-1021:
--------------------------------------
GitHub user olegz opened a pull request:
https://github.com/apache/nifi/pull/102
NIFI-1021 added support for Provenance event streaming
SUMMARY:
Current implementation is based on requiring user to implement
org.apache.nifi.provenance.ProvenanceEventConsumer
strategy, declare it as service in META-INF/services and drop the resulting
JAR
in the 'lib' directory of NiFi distribution.
Upon startup each consumer is discovered by ProvenanceRepository via
standard ServiceLoader
after which every provenance event is sent to such consumer.
To simplify things base implementation of ProvenanceRepository was provided
with two existing
implementations modified to extend from it.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/olegz/nifi NIFI-1021
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi/pull/102.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #102
----
----
> 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
> Assignee: 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)