frankvicky commented on code in PR #17250:
URL: https://github.com/apache/kafka/pull/17250#discussion_r1771647091


##########
tests/kafkatest/tests/core/reassign_partitions_test.py:
##########
@@ -176,7 +176,10 @@ def test_reassign_partitions(self, bounce_brokers, 
reassign_from_offset_zero, me
         self.producer = VerifiableProducer(self.test_context, 
self.num_producers,
                                            self.kafka, self.topic,
                                            throughput=self.producer_throughput,
-                                           enable_idempotence=True)
+                                           enable_idempotence=True,
+                                           # To avoid the reassignment 
behavior being affected by `partitioner.ignore.keys=true`,
+                                           # we set a key for the message to 
ensure the message order is preserved within the partition.

Review Comment:
   Fair enough, I will add some context.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to