diff options
author | David Arthur <mumrah@gmail.com> | 2012-10-02 12:31:09 -0400 |
---|---|---|
committer | David Arthur <mumrah@gmail.com> | 2012-10-02 12:31:09 -0400 |
commit | 7652f4ef3130dd42f819ba55c58aa67a7ce2d283 (patch) | |
tree | 08a20bcbbb3c0c3cfdc1ef1c2047d6c1cf24cd76 | |
parent | e5cf2500754ad458ba28383ce801f74439c631bb (diff) | |
download | kafka-python-7652f4ef3130dd42f819ba55c58aa67a7ce2d283.tar.gz |
Stupid markdown
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -74,7 +74,7 @@ kafka.close() ## Send several messages to a topic -Same as before, just add more arguments to `send\_simple` +Same as before, just add more arguments to `send_simple` ```python kafka = KafkaClient("localhost", 9092) @@ -84,7 +84,7 @@ kafka.close() ## Recieve some messages from a topic -Supply `get\_message\_set` with a `FetchRequest`, get back the messages and new `FetchRequest` +Supply `get_message_set` with a `FetchRequest`, get back the messages and new `FetchRequest` ```python kafka = KafkaClient("localhost", 9092) @@ -98,7 +98,7 @@ paging through the queue very simple. ## Send multiple messages to multiple topics -For this we use the `send\_multi\_message\_set` method along with `ProduceRequest` objects. +For this we use the `send_multi_message_set` method along with `ProduceRequest` objects. ```python kafka = KafkaClient("localhost", 9092) @@ -116,7 +116,7 @@ kafka.close() ## Iterate through all messages from an offset -The `iter\_messages` method will make the underlying calls to `get\_message\_set` +The `iter_messages` method will make the underlying calls to `get_message_set` to provide a generator that returns every message available. ```python |