Github user markap14 commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/439#discussion_r63344780
  
    --- Diff: 
nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/StandardProcessSession.java
 ---
    @@ -2308,18 +2308,46 @@ public void exportTo(final FlowFile source, final 
Path destination, final boolea
         public void exportTo(final FlowFile source, final OutputStream 
destination) {
             validateRecordState(source);
             final StandardRepositoryRecord record = records.get(source);
    +
             try {
    -            if (record.getCurrentClaim() == null) {
    --- End diff --
    
    Can you explain the reasoning behind removing this? If there is no content 
claim, i think it still makes sense to return immediately. This would happen, 
for instance, with some source processors such as ListFile that don't actually 
write any content to the FlowFile.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to