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

MockProducer shouldn't use DefaultPartitioner

    XMLWordPrintableJSON

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • producer
    • None

    Description

      DefaultPartitioner got deprecated as part of https://cwiki.apache.org/confluence/display/KAFKA/KIP-794%3A+Strictly+Uniform+Sticky+Partitioner#KIP794:StrictlyUniformStickyPartitioner-TestResults.  Also, MockProducer doesn't seem to call .onNewBatch, which means it doesn't really trigger partition switch.

      Attachments

        Activity

          People

            Unassigned Unassigned
            alivshits Artem Livshits
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: