Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-2311

Consumer's ensureNotClosed method not thread safe

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.1.0
    • Component/s: clients
    • Labels:
      None

      Description

      When a call is to the consumer is made, the first check is to see that the consumer is not closed. This variable is not volatile so there is no guarantee previous stores will be visible before a read.

        Attachments

        1. KAFKA-2311.patch
          3 kB
          Tim Brooks
        2. KAFKA-2311.patch
          2 kB
          Tim Brooks

          Issue Links

            Activity

              People

              • Assignee:
                timbrooks Tim Brooks
                Reporter:
                timbrooks Tim Brooks
                Reviewer:
                Jason Gustafson
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: