diff options
author | Mahendra M <mahendra.m@gmail.com> | 2013-06-25 17:01:32 +0530 |
---|---|---|
committer | Mahendra M <mahendra.m@gmail.com> | 2013-06-25 17:01:32 +0530 |
commit | b022be28de85634a642cbd4e0ca4ce89d46d21dd (patch) | |
tree | a1fa620452eb9b025ea88a71afa6aa8586559057 /test/test_integration.py | |
parent | 2e38a5273270df8959279973cbac69e5658ec9a9 (diff) | |
download | kafka-python-b022be28de85634a642cbd4e0ca4ce89d46d21dd.tar.gz |
Implement blocking get_messages for SimpleConsumer
The implementation is done by using simple options to
Kafka Fetch Request
Also in the SimpleConsumer iterator, update the offset before the
message is yielded. This is so that the consumer state is not lost
if certain cases.
For eg: the message is yielded and consumed by the caller,
but the caller does not come back into the generator again.
The message will be consumed but the status is not updated in
the consumer
Diffstat (limited to 'test/test_integration.py')
0 files changed, 0 insertions, 0 deletions