acrosa/kafka-rb — pull request #17 by bitterb (2013-01-24 14:02:17+00:00)
Title: Remove unnecessary code in Kafka::Producer#batch

This pull request removes unnecessary code in `Kafka::Producer#batch` method. Since the method always creates a new Kafka::Batch instance at the beginning, it would not be necessary to clear its instance variable `batch.messages` at the end.