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

Changing JMS clientID causes durable subscription problems

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 1.8.0
    • None
    • Extensions
    • Linux CENTOS 7

    Description

      Using ConsumeJMS we set clientID = nificid, durable = true and subscription = nifidur. After several tests where we received messages and stopped/started the processor between tests. We had the following durables for TIBCO:

      • infrastructure.itx.monitoring nificid-5:nifidur N <offline> 40 8.8 kb
      • infrastructure.itx.monitoring nificid-6:nifidur N <offline> 20 4.4 kb
      • infrastructure.itx.monitoring nificid-4:nifidur N <offline> 60 13.2 kb

      The clientID used was modified with an appended "-<digit>", and the digit increased with each restart. The test with ActiveMQ had the same problem.

       

      The resulting offline durables collect messages. The durable name is a combination of the clientID and the subscription name and NiFi has to remember and reuse the same durable name after a restart of the processor. The same problem was found and fixed in an older version before 1.x.

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tchermak Tim Chermak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: