You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/02/11 18:03:02 UTC

[GitHub] [kafka] aadubey opened a new pull request #10110: KAFKA-12297 - Make MockProducer return RecordMetadata with values as per contract

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:
users@infra.apache.org



[GitHub] [kafka] omkreddy closed pull request #10110: KAFKA-12297 - Make MockProducer return RecordMetadata with values as per contract

Posted by GitBox <gi...@apache.org>.
omkreddy closed pull request #10110:
URL: https://github.com/apache/kafka/pull/10110


   


----------------------------------------------------------------
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:
users@infra.apache.org