Kafka
  1. Kafka
  2. KAFKA-267

Enhance ProducerPerformance to generate unique random Long value for payload

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.8.0
    • Component/s: None
    • Labels:
      None

      Description

      This is achieved by:
      1. Adding a new class UniqueRandom to shuffle a range of numbers.
      2. An optional new argument "start-index" is added to specify the starting number of the range to be shuffled. If this argument is omitted, it is defaulted to 1. So it is backward compatible with the argument options.
      3. The ending number of the range is the starting number + number of messages - 1.

      Other ProducerPerformance advancement:
      1. producing to multiple topics
      2. supporting multiple instances of producer performance ( and distinguishes them)
      3. allowing waiting some time after sending a request

      1. kafka_267_additional.diff
        1 kB
        Yang Ye
      2. kafka-267-v1.patch
        8 kB
        John Fung
      3. kafka-267-v2.patch
        20 kB
        Yang Ye
      4. kafka-267-v3.patch
        19 kB
        Yang Ye
      5. kafka-267-v4.patch
        19 kB
        Yang Ye
      6. kafka-267-v5.patch
        22 kB
        Yang Ye
      7. kafka-267-v6.patch
        27 kB
        Yang Ye
      8. kafka-267-v7.patch
        32 kB
        Yang Ye

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Yang Ye
            Reporter:
            John Fung
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development