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

The random partition selected in DefaultEventHandler is not random across producer instances

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.0
    • 0.8.0
    • core
    • None

    Description

      In DefaultEventHandler, partitionCounter is initialized to 0. If multiple producers start at about the same time, they likely will always select the same partition.

      Attachments

        1. KAFKA-1071.v1.patch
          1 kB
          Guozhang Wang
        2. KAFKA-1071.v2.patch
          2 kB
          Guozhang Wang

        Activity

          People

            guozhang Guozhang Wang
            junrao Jun Rao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: