Skip to content

Commit

Permalink
actually load metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim Lim committed Oct 2, 2013
1 parent 8fcbe0c commit 88559a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kafka/producer.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def _send_upstream(self, queue):
self.client.send_produce_request(reqs, acks=self.req_acks,
timeout=self.ack_timeout)
except Exception as exp:
self.client._load_metadata_for_topics
self.client._load_metadata_for_topics(self.topic)
log.error("Error sending message", exc_info=sys.exc_info())

def send_messages(self, partition, *msg):
Expand Down

0 comments on commit 88559a5

Please sign in to comment.