Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14590

Camel-Pulsar consumer calls unsubscribe on doStop/doSuspend, potentially deleting subscription

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: camel-pulsar
    • Labels:
      None
    • Estimated Complexity:
      Novice

      Description

      In the PulsarUtils stopConsumers method all the consumers call unsubscribe(). This causes the subscription to be deleted if this call comes from the last consumer. I do not know if this is intentional behavior but it seems to be dangerous (and has caused some issues for us without realizing it). If this is intentional, can we make it configurable to avoid doing this? Or if it is not intentional can we just remove the call entirely?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                connormcauliffe-toast Connor McAuliffe
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m