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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0
    • camel-pulsar
    • None
    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            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

                Slack

                  Issue deployment