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

camel-kafka race conditions during shut down

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.10.0
    • 3.11.0
    • camel-kafka
    • None
    • Unknown

    Description

      Latest extension in KafkaConsumer with reconnect/retry introduced race condition during shut down. Potentially this leaves threads running after shut down.

      Retry flag is set to false only if consumer wakeup throws an exception during consumer poll. 

      Interrupted Exception leaves the while loop only if thread is currently sleeping.

      If the thread executes any thing else during shut down, the thread will continuously loop.

      I will prepare a proposal patch set soon. 

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              EhsanAmiryousefi Ehsan Amiryousefi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: