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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0
    • Component/s: core
    • Labels:
      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.v2.patch
          2 kB
          Guozhang Wang
        2. KAFKA-1071.v1.patch
          1 kB
          Guozhang Wang

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: