Remove unnecessary code in Kafka::Producer#batch #17

Open
wants to merge 1 commit into
from

1 participant

@bitterb

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