nifi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Thomsen <mikerthom...@gmail.com>
Subject Re: Checking for existence of mandatory attributes
Date Thu, 20 Dec 2018 17:19:59 GMT
I might still hack out a prototype and send it as a PR because it would be
like a really beefed up version of RouteOnAttribute that is built around
policy enforcement with attributes.

On Thu, Dec 20, 2018 at 12:18 PM Mike Thomsen <mikerthomsen@gmail.com>
wrote:

> This is probably enough:
> https://nifi.apache.org/docs/nifi-docs/html/expression-language-guide.html#allattributes
>
> I missed that because I was thinking "how do I do a bunch of 'and must
> exist' statements."
>
> Thanks,
>
> Mike
>
> On Thu, Dec 20, 2018 at 12:01 PM Mark Payne <markap14@hotmail.com> wrote:
>
>> Hey Mike,
>>
>> I would recommend RouteOnAttribute for that.
>>
>> Thanks
>> -Mark
>>
>> Sent from my iPhone
>>
>> > On Dec 20, 2018, at 11:45 AM, Mike Thomsen <mikerthomsen@gmail.com>
>> wrote:
>> >
>> > Do we have any processors that would be particularly good at checking a
>> > flowfile for the existence of certain mandatory attributes and then
>> routing
>> > flowfiles missing them to a failure relationship?
>> >
>> > I have a processor sketched out in my head for this already, but don't
>> want
>> > to reinvent the wheel.
>> >
>> > Thanks,
>> >
>> > Mike
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message