muralibasani commented on code in PR #22467:
URL: https://github.com/apache/kafka/pull/22467#discussion_r3357073619
##########
clients/src/main/java/org/apache/kafka/clients/producer/MockProducer.java:
##########
@@ -344,8 +344,10 @@ public synchronized Future<RecordMetadata>
send(ProducerRecord<K, V> record, Cal
partition = partition(record, this.cluster);
else {
//just to throw ClassCastException if serializers are not the
proper ones to serialize key/value
Review Comment:
this comment is now mis-leading after the null check
--
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]