summaryrefslogtreecommitdiff
path: root/kafka/__init__.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove SimpleClient, Producer, Consumer, Unittest (#1196)Jeff Widman2019-10-111-25/+3
| | | | | | | | | | | | | | | | | | In the 2.0 release, we're removing: * `SimpleClient` * `SimpleConsumer` * `SimpleProducer` * Old partitioners used by `SimpleProducer`; these are superceded by the `DefaultPartitioner` These have been deprecated for several years in favor of `KafkaClient` / `KafkaConsumer` / `KafkaProducer`. Since 2.0 allows breaking changes, we are removing the deprecated classes. Additionally, since the only usage of `unittest` was in tests for these old Simple* clients, this also drops `unittest` from the library. All tests now run under `pytest`.
* Rename KafkaAdmin to KafkaAdminClientJeff Widman2018-11-201-2/+2
|
* Add KafkaAdmin classRichard Lee2018-10-241-0/+2
| | | | | | Requires cluster version > 0.10.0.0, and uses new wire protocol classes to do many things via broker connection that previously needed to be done directly in zookeeper.
* Expose ConsumerRebalanceListener in allBen Harack2018-09-271-1/+1
| | | | | | This solves a warning in linters like PyCharm, which warns that a line like: from kafka import ConsumerRebalanceListener is actually accessing a protected member of a class or module. Adding it to __all__ should solve this.
* Don't use `kafka.common` internally1.3.5Jeff Widman2018-06-051-1/+1
| | | | This finishes the split from `kafka.common` to `kafka.errors`/`kafka.structs`.
* use absolute imports everywhere (#1362)Kevin Tindall2018-02-061-1/+1
|
* Add kafka.serializer interfaces (#912)Dana Powers2016-12-191-0/+1
|
* from kafka import ConsumerRebalanceListener, OffsetAndMetadataDana Powers2016-09-041-1/+2
|
* Always absolute_importabsolute_importDana Powers2016-08-021-0/+2
|
* Update imports from kafka.common -> kafka.errors / kafka.structsDana Powers2016-04-051-1/+1
|
* TopicPartition should be importable from top-level moduleDana Powers2016-02-151-0/+1
|
* Add logging NullHandler to avoid No Handlers warningsnull_loggerDana Powers2016-01-271-0/+12
|
* Add KafkaProducer to kafka and kafka.producer module importsDana Powers2016-01-241-1/+2
|
* Add DeprecationWarnings to legacy KafkaClient, Simple/MultiProcess/Consumer, ↵deprecation_warningsDana Powers2016-01-121-4/+18
| | | | and KafkaConnection
* Reorg kafka importsDana Powers2016-01-071-11/+12
| | | | | | | - kafka.KafkaClient is new async client - kafka.SimpleClient is old sync client - update copyright / author info - add BrokerConnection; drop KafkaConnection
* Add Murmur2Partitioner to kafka __all__ imports - fix issue 471Dana Powers2015-12-021-1/+1
|
* Set __version__ string in kafka/version.pyDana Powers2015-06-041-3/+1
|
* 2014 -> 2015David Arthur2015-02-031-1/+1
|
* KafkaConsumer should be in __all__.Kasper Jacobsen2015-01-091-1/+1
|
* Move KafkaConsumer to kafka.consumer.kafka module; make available for import ↵Dana Powers2014-12-151-1/+1
| | | | from kafka at top-level
* Add TravisCI config for auto deploymentDavid Arthur2014-08-221-1/+1
| | | | Tags applied to master will now be automatically deployed on PyPI
* Set module version in separate VERSION fileDana Powers2014-08-101-1/+3
|
* Fix version in __init__.py to match setup.pyDavid Arthur2014-02-251-1/+1
|
* Merge branch 'issue-35'David Arthur2013-07-261-2/+3
|\ | | | | | | | | | | | | Conflicts: kafka/__init__.py kafka/consumer.py test/test_integration.py
| * Added the modules in __init__.pyMahendra M2013-06-251-2/+3
| |
* | Add exports in __init__Mahendra M2013-06-241-2/+4
|/
* PEP8-ify most of the filesMahendra M2013-05-291-1/+1
| | | | consumer.py and conn.py will be done later after pending merges
* Big code re-orgDavid Arthur2013-04-021-5/+12
|
* Integration tests passingDavid Arthur2013-04-021-2/+1
|
* Add Snappy support0.1-alphaDavid Arthur2012-11-161-0/+1
| | | | Fixes #2
* Packaging improvmentsDavid Arthur2012-10-021-1/+11
| | | | | | | | | | | | | | | | | | | | | | | Can now: ```python import kafka kafka.KafkaClient("localhost", 9092) ``` or ```python from kafka.client import KafkaClient KafkaClient("localhost", 9092) ``` or ```python import kafka.client kafka.client.KafkaClient("localhost", 9092) ```
* Moved codec stuff into it's own moduleDavid Arthur2012-10-021-1/+1
| | | | Snappy will go there when I get around to it
* Start work on packaging issue #3David Arthur2012-10-021-0/+1