summaryrefslogtreecommitdiff
path: root/kafka/queue.py
Commit message (Collapse)AuthorAgeFilesLines
* flake8 pass (pep8 and pyflakes)mrtheb2013-10-031-8/+11
|
* Fix #44 Add missing exception classv0.8.0David Arthur2013-09-241-1/+1
| | | | Also move the exceptions to common instead of util
* PEP8-ify most of the filesMahendra M2013-05-291-31/+65
| | | | consumer.py and conn.py will be done later after pending merges
* Refactoring a bit, cleanup for 0.8David Arthur2013-04-021-0/+2
| | | | Marking some stuff as not compatible for 0.8 (will be added in 0.8.1)
* Adding client_fetch_size to queue interfaceDavid Arthur2013-04-021-3/+34
| | | | Also more docs
* Add some docs and KafkaQueue configDavid Arthur2012-11-191-19/+47
| | | | Ref #8
* Add a Queue-like producer/consumerDavid Arthur2012-11-191-0/+119
Creates a producer process and one consumer process per partition. Uses `multiprocessing.Queue` for communication between the parent process and the producer/consumers. ```python kafka = KafkaClient("localhost", 9092) q = KafkaQueue(kafka, client="test-queue", partitions=[0,1]) q.put("test") q.get() q.close() kafka.close() ``` Ref #8