[
https://issues.apache.org/jira/browse/MINIFICPP-31?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16358809#comment-16358809
]
ASF GitHub Bot commented on MINIFICPP-31:
-----------------------------------------
GitHub user achristianson opened a pull request:
https://github.com/apache/nifi-minifi-cpp/pull/262
MINIFICPP-31 Added UpdateAttribute processor
Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
### For all changes:
- [x] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?
- [x] Does your PR title start with MINIFI-XXXX where XXXX is the JIRA
number you are trying to resolve? Pay particular attention to the hyphen "-"
character.
- [x] Has your PR been rebased against the latest commit within the target
branch (typically master)?
- [x] Is your initial contribution a single, squashed commit?
### For code changes:
- [x] If adding new dependencies to the code, are these dependencies
licensed in a way that is compatible for inclusion under [ASF
2.0](http://www.apache.org/legal/resolved.html#category-a)?
- [x] If applicable, have you updated the LICENSE file?
- [x] If applicable, have you updated the NOTICE file?
### For documentation related changes:
- [x] Have you ensured that format looks appropriate for the output in
which it is rendered?
### Note:
Please ensure that once the PR is submitted, you check travis-ci for build
issues and submit an update to your PR as soon as possible.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/achristianson/nifi-minifi-cpp MINIFICPP-31
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nifi-minifi-cpp/pull/262.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 #262
----
commit fb4e92d20c578299780fcf764fc9d0636af3259d
Author: Andrew I. Christianson <andy@...>
Date: 2018-02-08T18:51:08Z
MINIFICPP-31 Added UpdateAttribute processor
----
> Support UpdateAttribute for nifi-minifi-cpp
> -------------------------------------------
>
> Key: MINIFICPP-31
> URL: https://issues.apache.org/jira/browse/MINIFICPP-31
> Project: NiFi MiNiFi C++
> Issue Type: New Feature
> Reporter: Randy Gelhausen
> Assignee: Andrew Christianson
> Priority: Major
>
> nifi-minifi-cpp agents can generate multiple "streams" of flowfiles.
> For instance, to monitor a host, nifi-minifi-cpp runs nmon, ps, netstat, and
> gathers logfiles from applications.
> But, for a given flowfile, any downstream NiFi collectors wont have
> visibility into the originating hostname, nor metadata about which "stream"
> (ExecuteProcess(nmon), ExecuteProcess(ps), TailFile(app1), TailFile(app2))
> generated it.
> One solution is to use a separate InputPort for each stream. This works, but
> burdens both the team working on agent flows, and the team managing the
> collector- they have to be in concert.
> A simpler (better?) approach is to allow agent teams to tag flowfiles with
> differentiating metadata via use of UpdateAttribute.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)