Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-5896

ComsumeAMQP lose/unack messages under certain conditions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.8.0
    • None
    • None
    • None

    Description

      Symptoms: when batch-size is larger than 1 (tested with 10 and 100), the processor would occasionally:

      (1). when in auto-ack mode: lose messages, i.e., messages consumed from server but without producing flowfiles;

      (2). when auto-ack is disabled, messages could get stuck in "unacked" mode. 

      We also found a work-around with batch-size 1 with auto-ack off; this work-around seems reliable enough.

      Based on above symptoms and the work-around, it appears to be a race-condition related issue. (for the same reason, I could not provide a test-case to reliably recreate the symptom. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            yanzchen Yan Chen
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: