aadubey opened a new pull request #10110:
URL: https://github.com/apache/kafka/pull/10110


   This is a simple change to MockProducer as per request in KAFKA-12297.
   MockProducer currently returns a null RecordMetadata on Exception. The fix 
will make MockProducer return the right value as per specification.
   
   This only impacts clients which use send with a custom callback and try to 
then use the RecordMetadata inspite of getting an exception. This should mostly 
impact customer unit and integration tests as the mock end point was never 
intended for use in a real Kafka cluster.


----------------------------------------------------------------
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.

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


Reply via email to