Julien G. created NIFI-13927:
--------------------------------

             Summary: PublishGCPPubSub processor stop working and is stucked 
when using Record Oriented mode
                 Key: NIFI-13927
                 URL: https://issues.apache.org/jira/browse/NIFI-13927
             Project: Apache NiFi
          Issue Type: Improvement
    Affects Versions: 1.26.0
            Reporter: Julien G.
         Attachments: EXAMPLE.json, nifi.tdump

When using the PublishGCPPubSub processor with the Record Oriented mode the 
processor will stay stucked. It won't processor any FlowFile. When the 
processor is terminated the thread isn't released by the processor.

It FlowFile Oriented mode, it works fine.

It seems to be linked to how many records are in the FlowFile, becase when 
having a single record in the FlowFile, it seems to have no issue (may be it 
take more time to appear).

But if you start to have more records in the FlowFile, it won't work. To make 
the processor works again you either need to restart the node or removing and 
recreating the processor. But it's temporary, because it some point it will be 
stucked again. When stucked the processor won't be unstucked even after days 
(we had a processor stucked for 3 days straight).

You can find attached a thread dump when the processor was running and stucked, 
and with ~10 threads not released . And you can also find an example that will 
show the issue with a FlowFile of 500 records that instantly stucked in the 
publish.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to