Skip to content
This repository has been archived by the owner on Mar 24, 2021. It is now read-only.

Commit

Permalink
Merge pull request #787 from carsonip/patch-1
Browse files Browse the repository at this point in the history
Minor typo fix
  • Loading branch information
Emmett J. Butler committed Apr 23, 2018
2 parents 6687224 + 9615766 commit 410bcf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pykafka/producer.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def _setup_owned_brokers(self):
owned_broker = self._owned_brokers.pop(broker)
owned_broker.stop()

# loop becuase flush is not garentee to empty owned
# loop because flush is not guaranteed to empty owned
# broker queue
while True:
batch = owned_broker.flush(self._linger_ms,
Expand Down

0 comments on commit 410bcf1

Please sign in to comment.