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

Enhance ProducerPerformance to generate unique random Long value for payload

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.8.0
    • None
    • 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

      Attachments

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

        Activity

          People

            yeyangever Yang Ye
            jfung John Fung
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: