Typo in example.py

This commit is contained in:
David Arthur
2013-04-02 19:54:41 -04:00
parent 1c5081e6b3
commit 2690a5da96

View File

@@ -6,7 +6,7 @@ from kafka.producer import SimpleProducer
def produce_example(client):
producer = SimpleProducer(client, "my-topic")
producer.send_message("test")
producer.send_messages("test")
def consume_example(client):
consumer = SimpleConsumer(client, "test-group", "my-topic")