chia7712 commented on code in PR #22253:
URL: https://github.com/apache/kafka/pull/22253#discussion_r4516416713


##########
clients/src/main/java/org/apache/kafka/clients/producer/ProducerRecord.java:
##########
@@ -28,7 +28,9 @@
  * <p>
  * If a valid partition number is specified that partition will be used when 
sending the record. If no partition is
  * specified but a key is present a partition will be chosen using a hash of 
the key. If neither key nor partition is
- * present a partition will be assigned in a round-robin fashion. Note that 
partition numbers are 0-indexed.
+ * present a partition will be assigned utilizing the {@link 
org.apache.kafka.clients.producer.Partitioner}

Review Comment:
   The default logic depends on the `BuiltInPartitioner`, right?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to