GitHub user apurvam opened a pull request: https://github.com/apache/kafka/pull/3878
KAFKA-5913: Add the RecordMetadataNotAvailableException We return this exception from `RecordMetadata.offset()` or `RecordMetadata.timestamp()` if these pieces of metadata were not returned by the broker. This will happen, for instance, when the broker returns a `DuplicateSequenceException`. You can merge this pull request into a Git repository by running: $ git pull https://github.com/apurvam/kafka KAFKA-5913-add-record-metadata-not-available-exception Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3878.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3878 ---- commit e9770a65203f7bdcea8c25a5fbaaa9366d12851c Author: Apurva Mehta <apu...@confluent.io> Date: 2017-09-16T01:15:15Z Initial commit ---- ---