[
https://issues.apache.org/jira/browse/NIFI-696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15000939#comment-15000939
]
Oleg Zhurakousky commented on NIFI-696:
---------------------------------------
Since we are talking about deprecation I'd like to suggest adding an operation
to FlowFile:
{code}
UUID getIdentifier();
{code}
The unique identifier is the most essential attribute of a unit of work in both
messaging and flow-based architectures. It emphasizes and reinforces the
immutability of such unit. Having a convenience operation for this one
attribute IMHO is somewhat essential. It will still be stored as attribute and
could be accessed as attribute as well as via such operation.
Thoughts?
> Deprecate FlowFile.getId()
> --------------------------
>
> Key: NIFI-696
> URL: https://issues.apache.org/jira/browse/NIFI-696
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Reporter: Mark Payne
> Priority: Minor
> Fix For: 0.4.0
>
>
> FlowFile.getId() has been replaced almost everywhere, using the FlowFile's
> uuid instead. It provides no real benefit over using the UUID. and there is a
> known bug regarding the one-up ID identified in NIFI-334.
> We should just deprecate the method all together and remove it in 1.0.0
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)