Skip to content

Conversation

@bitterb
Copy link

@bitterb bitterb commented Jan 24, 2013

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant