summaryrefslogtreecommitdiff
path: root/kafka/client.py
diff options
context:
space:
mode:
authorMahendra M <mahendra.m@gmail.com>2013-06-25 18:17:39 +0530
committerMahendra M <mahendra.m@gmail.com>2013-06-25 18:17:39 +0530
commit65c8eb1f9f3a309f924cf469abb16af98bbe5d6d (patch)
treeb116b9c287b7e6ef49ef93bf5ffb11178ee1f6eb /kafka/client.py
parent99da57f98a65a457481dcf5c1edcca95dfd464a5 (diff)
downloadkafka-python-65c8eb1f9f3a309f924cf469abb16af98bbe5d6d.tar.gz
Got MultiProcessConsumer working
Other changes * Put a message size restriction on the shared queue - to prevent message overload * Wait for a while after each process is started (in constructor) * Wait for a while in each child if the consumer does not return any messages Just to be nice to the CPU. * Control the start event more granularly - this prevents infinite loops if the control does not return to the generator. For eg: for msg in consumer: assert False * Update message status before yield
Diffstat (limited to 'kafka/client.py')
0 files changed, 0 insertions, 0 deletions