Shopify/sarama — pull request #54 by rsrsps (2013-11-18 22:56:29+00:00)
Title: Revised check for closed client in producer, consumer

This patch adds a check to make debugging easier when the client has been closed (for example, due to an errant defer()). Checks are added to both Producer and Consumer as well as inside Client.