diff options
-rw-r--r-- | README.rst | 1 | ||||
-rw-r--r-- | docs/index.rst | 1 |
2 files changed, 0 insertions, 2 deletions
@@ -62,7 +62,6 @@ that expose basic message attributes: topic, partition, offset, key, and value: >>> consumer = KafkaConsumer(value_deserializer=msgpack.dumps) >>> consumer.subscribe(['msgpackfoo']) >>> for msg in consumer: -... msg = next(consumer) ... assert isinstance(msg.value, dict) diff --git a/docs/index.rst b/docs/index.rst index eb8f429..b98f119 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -61,7 +61,6 @@ that expose basic message attributes: topic, partition, offset, key, and value: >>> consumer = KafkaConsumer(value_deserializer=msgpack.loads) >>> consumer.subscribe(['msgpackfoo']) >>> for msg in consumer: -... msg = next(consumer) ... assert isinstance(msg.value, dict) |