You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Artem Livshits (Jira)" <ji...@apache.org> on 2022/06/14 17:51:00 UTC

[jira] [Created] (KAFKA-13992) MockProducer shouldn't use DefaultPartitioner

Artem Livshits created KAFKA-13992:
--------------------------------------

             Summary: MockProducer shouldn't use DefaultPartitioner
                 Key: KAFKA-13992
                 URL: https://issues.apache.org/jira/browse/KAFKA-13992
             Project: Kafka
          Issue Type: Task
          Components: producer 
            Reporter: Artem Livshits


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.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)