Shopify/sarama — pull request #240 by eapache (2014-12-19 19:23:38+00:00)
Title: producer: check MaxMessagesPerReq >= FlushMsgCount

Validate the above condition when MaxMessagesPerReq is set, as it doesn't make
sense to force a flush before one has been soft-triggered.

cc @joestein @wvanbergen