AxelSync commented on a change in pull request #3633: NIFI-6523 MergeRecords
properties should accept expression language variables
URL: https://github.com/apache/nifi/pull/3633#discussion_r310470545
##########
File path:
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/MergeRecord.java
##########
@@ -151,7 +153,7 @@
.description("If specified, two FlowFiles will be binned together only
if they have the same value for "
+ "this Attribute. If not specified, FlowFiles are bundled by the
order in which they are pulled from the queue.")
.required(false)
- .expressionLanguageSupported(ExpressionLanguageScope.NONE)
+
.expressionLanguageSupported(ExpressionLanguageScope.FLOWFILE_ATTRIBUTES)
Review comment:
It is done in the same way in this processor's brother `MergeContent`, I
think it could be useful to create different bins based on different attributes
at the same time, without having to add an `UpdateAttribute` node before the
`MergeRecord`.
Whatever the case, I also think it would be more intuitive for the user to
have similar processors to be aligned
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services