Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove SimpleClient, Producer, Consumer, Unittest (#1196) | Jeff Widman | 2019-10-11 | 1 | -54/+0 |
| | | | | | | | | | | | | | | | | | | 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`. | ||||
* | Be explicit with tuples for %s formatting | Jeff Widman | 2018-11-18 | 1 | -1/+1 |
| | | | | Fix #1633 | ||||
* | Vendor `six` consistently | Jeff Widman | 2018-10-22 | 1 | -2/+2 |
| | | | | Use vendored `six`, and also `six.moves.range` rather than `xrange` | ||||
* | Change SimpleProducer to use async_send (async is reserved in py37) (#1454) | Dana Powers | 2018-03-23 | 1 | -1/+1 |
| | |||||
* | use absolute imports everywhere (#1362) | Kevin Tindall | 2018-02-06 | 1 | -1/+1 |
| | |||||
* | Vendor six 1.10.0six | Dana Powers | 2016-08-01 | 1 | -1/+1 |
| | |||||
* | Remove unused importskafka-3318 | Dana Powers | 2016-04-05 | 1 | -1/+0 |
| | |||||
* | Merge branch '0.9' | Dana Powers | 2016-01-07 | 1 | -3/+0 |
|\ | | | | | | | | | | | | | | | Conflicts: kafka/codec.py kafka/version.py test/test_producer.py test/test_producer_integration.py | ||||
| * | Drop kafka_bytestring | Dana Powers | 2015-12-10 | 1 | -3/+0 |
| | | |||||
* | | Handle new topic creation / LeaderNotAvailableError in initial ↵ | Dana Powers | 2015-12-16 | 1 | -1/+1 |
|/ | | | | SimpleProducer.send_messages call | ||||
* | Dont maintain all producer args / kwargs in subclass __init__ and docstrings ↵ | Dana Powers | 2015-06-08 | 1 | -48/+14 |
| | | | | -- just refer to super class (Producer) | ||||
* | Deprecate async producer batch_send kwarg -- use 'async' instead | Dana Powers | 2015-06-06 | 1 | -2/+2 |
| | |||||
* | Use separate module loggers instead of a single 'kafka' logger | Dana Powers | 2015-06-06 | 1 | -1/+1 |
| | |||||
* | Improve async producer code: logic and style fixes | Viktor Shlapakov | 2015-06-03 | 1 | -4/+8 |
| | | | | | | | | | | - send_producer_request with fail_on_error=False to retry failed reqs only - using an internal dict with with namedtuple keys for retry counters - refresh metadata on refresh_error irrespective to retries options - removed infinite retries (retry_options.limit=None) as an over-feature - separate producer init args for retries options (limit,backoff,on_timeouts) - AsyncProducerQueueFull returns a list of failed messages - producer tests improved thanks to @rogaha and @toli | ||||
* | Fix names for async retries opts, add timeout for put | Viktor Shlapakov | 2015-06-03 | 1 | -3/+8 |
| | |||||
* | Improved retry logic | Viktor Shlapakov | 2015-06-03 | 1 | -6/+3 |
| | |||||
* | Retries for async batching | Viktor Shlapakov | 2015-06-03 | 1 | -3/+8 |
| | |||||
* | Just encode to bytes if it isn't bytes. | John Anderson | 2015-01-24 | 1 | -2/+4 |
| | |||||
* | Alert if the topic is not sent as bytes | John Anderson | 2015-01-23 | 1 | -0/+4 |
| | |||||
* | Merge pull request #282 from wedaly/sphinx-api-docs | Dana Powers | 2015-01-23 | 1 | -14/+16 |
|\ | | | | | Add Sphinx API docs | ||||
| * | Add Sphinx API docs | Will Daly | 2015-01-15 | 1 | -14/+16 |
| | | |||||
* | | Randomize start by default for SimpleProducer | Alex Couture-Beil | 2015-01-09 | 1 | -1/+1 |
|/ | | | | | | | | random_start=False is dangerous. Any client that initializes a SimpleProducer and performs only a single publish batch will always go to partition 0. A common use-case for this is command line utilities, or web-servers which are unable to cache the SimpleProducer instance between calls. | ||||
* | Separate consumers/producers/partitioners | Dana Powers | 2014-09-10 | 1 | -0/+73 |