diff options
author | David Arthur <mumrah@gmail.com> | 2012-10-02 12:20:57 -0400 |
---|---|---|
committer | David Arthur <mumrah@gmail.com> | 2012-10-02 12:20:57 -0400 |
commit | c448bf367036d3a3c04ee553987da6be64820d00 (patch) | |
tree | 56d0b92f5c389251376b72901daf9d22a0caf454 /example.py | |
parent | c99d4119f2d6d0fdee38a159e1c845e42cf398b1 (diff) | |
download | kafka-python-c448bf367036d3a3c04ee553987da6be64820d00.tar.gz |
Renaming kafka.py to client.py
Diffstat (limited to 'example.py')
-rw-r--r-- | example.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,6 +1,6 @@ import logging -from kafka import KafkaClient, FetchRequest, ProduceRequest +from kafka.client import KafkaClient, FetchRequest, ProduceRequest def produce_example(kafka): message = kafka.create_message("testing") @@ -26,7 +26,6 @@ def main(): consume_example(kafka) kafka.close() - if __name__ == "__main__": logging.basicConfig(level=logging.DEBUG) main() |