diff options
author | Omar <omar.ghishan@rd.io> | 2014-02-26 16:55:28 -0800 |
---|---|---|
committer | Omar <omar.ghishan@rd.io> | 2014-02-26 16:55:28 -0800 |
commit | ab89a44ecf9c93b116fcc8516cfc21749df74507 (patch) | |
tree | 5e318c4c7541bade1da687d2cf5fd145c594dc2b /example.py | |
parent | e5fdc1c7b22c8ad2aaa66a486871d0ed65977e3d (diff) | |
parent | 51910f981843dfa967d24659cdb46117210c832d (diff) | |
download | kafka-python-ab89a44ecf9c93b116fcc8516cfc21749df74507.tar.gz |
Merge pull request #122 from mrtheb/multihosts
Support for multiple hosts on KafkaClient boostrap (improves on #70)
Diffstat (limited to 'example.py')
-rw-r--r-- | example.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -14,7 +14,7 @@ def consume_example(client): print(message) def main(): - client = KafkaClient("localhost", 9092) + client = KafkaClient("localhost:9092") produce_example(client) consume_example(client) |