summaryrefslogtreecommitdiff
path: root/kafka/queue.py
Commit message (Collapse)AuthorAgeFilesLines
* Removing queue.pyDavid Arthur2015-02-031-215/+0
| | | | | | | It's just collecting dust and throwing off the coverage report. I pushed a branch queue-fixup in case someone wants to take a stab at refactoring it.
* Add Sphinx API docsWill Daly2015-01-151-19/+15
|
* Enable absolute imports for modules using Queue.Joe Crobak2013-10-211-0/+2
| | | | | | | When running on Linux with code on a case-insensitive file system, imports of the `Queue` module fail because python resolves the wrong file (It is trying to use a relative import of `queue.py` in the kafka directory). This change forces absolute imports via PEP328.
* 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