GitHub user mjsax opened a pull request: https://github.com/apache/kafka/pull/3912
KAFKA-5936: KafkaProducer.close should throw InterruptException You can merge this pull request into a Git repository by running: $ git pull https://github.com/mjsax/kafka kafka-5936-producer-close Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/3912.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 #3912 ---- commit c2d2f29dd8cd2249b1b4e830a24033eaa2806c0a Author: Matthias J. Sax <matth...@confluent.io> Date: 2017-09-19T22:48:54Z KAFKA-5936: KafkaProducer.close should throw InterruptException ---- ---