nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph Percivall (JIRA)" <>
Subject [jira] [Resolved] (NIFI-4415) Processors should be explicit in what is evaluated for a property that supports Expression Language
Date Sun, 24 Sep 2017 23:46:01 GMT


Joseph Percivall resolved NIFI-4415.
    Resolution: Duplicate

Apparently, I've already raised this issue in the past and my search skills didn't quite make
find it before creating this one.

Closing this one in favor of the other since it is older.

> Processors should be explicit in what is evaluated for a property that supports Expression
> ---------------------------------------------------------------------------------------------------
>                 Key: NIFI-4415
>                 URL:
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Joseph Percivall
> Currently, when a processor evaluates an Expression Language (EL) expression, it can
do so by providing multiple different inputs to the function[1]. Without looking at the code
and not explicitly stated in the docs, the user does not know what is available for them to
> The list of available options to pass to evaluate includes:
> * A FlowFile
> * An attribute value decorator
> * Any state values
> * Any additional attributes that may be processor specific
> At worst, a user will attempt design a flow thinking a processor's EL supports passing
values via attributes and coming to find that it doesn't allow access to the FlowFile through
an obscure error. At "best", a user just doesn't know about a certain functionality.
> One may ask why a processor wouldn't allow access to the values. At the most basic, the
processor may just not make use of that feature (a processor not storing state). On the other
end, a processor may not expose access to a FlowFile's attributes because the evaluation happens
once per scheduling (when there isn't a FlowFile) or once per batch (eg. PutElasticsearchHttp's
> A developer should be able to state what will be evaluated in the same place that they
originally indicate that a property supports EL. NiFi should then pass that information to
the user of the processor via the documentation (in the same way it tells the user whether
EL is supported or not).
> [1]
> [2]

This message was sent by Atlassian JIRA

View raw message