You can clone with
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.
Remove unnecessary code in Kafka::Producer#batch
Showing 1 unique commit by 1 author.
Showing 1 changed file
with 0 additions
and 1 deletion.
Show diff stats
Hide diff stats
Tip: You can add notes to lines in a file. Hover to the left of a line to make a note