Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use logging's built-in string interpolation | Jeff Widman | 2017-07-07 | 1 | -2/+1 |
| | |||||
* | Add sphinx formatting to hyperlink methods (#898) | Jeff Widman | 2017-03-03 | 1 | -3/+5 |
| | |||||
* | PEP-8: Spacing & removed unused imports (#899) | Jeff Widman | 2017-02-09 | 1 | -2/+2 |
| | |||||
* | Fix typos | Jeff Widman | 2016-11-14 | 1 | -1/+1 |
| | |||||
* | Vendor six 1.10.0six | Dana Powers | 2016-08-01 | 1 | -1/+1 |
| | |||||
* | Update imports from kafka.common -> kafka.errors / kafka.structs | Dana Powers | 2016-04-05 | 1 | -5/+4 |
| | |||||
* | Update base.py | Tom Most | 2016-02-26 | 1 | -1/+1 |
| | | | | | | | | | Our app uses `SimpleProducer` and logs lots of these warnings (from line 438): producer.stop() called, but producer is not async This destructor appears to be the cause. (Also, is it wise to do a thread join from a destructor?) | ||||
* | Fixup RequestTimeoutError -> RequestTimedOutError | Dana Powers | 2016-02-15 | 1 | -1/+1 |
| | |||||
* | Docstring updates | Dana Powers | 2016-01-07 | 1 | -18/+35 |
| | |||||
* | Disable pylint errors for py2/py3 compatibility workarounds | Dana Powers | 2016-01-01 | 1 | -3/+4 |
| | |||||
* | Use log exception for metadata failure in async producer | Dana Powers | 2016-01-01 | 1 | -2/+2 |
| | |||||
* | Rename TopicAndPartition -> TopicPartition | Dana Powers | 2015-12-28 | 1 | -2/+2 |
| | |||||
* | Drop kafka_bytestring | Dana Powers | 2015-12-10 | 1 | -6/+0 |
| | |||||
* | Update references to kafka.common Request/Response (now Payload) | Dana Powers | 2015-12-09 | 1 | -8/+9 |
| | |||||
* | Log deprecation warning for timeout argument in Producer.stop() | Dana Powers | 2015-12-06 | 1 | -3/+7 |
| | |||||
* | Producer.stop() now blocks until async thread completes (drop confusing ↵async_producer_stop | Dana Powers | 2015-12-05 | 1 | -7/+12 |
| | | | | timeout arg) | ||||
* | client.reinit() can raise an exception; catch in async producer | Dana Powers | 2015-12-04 | 1 | -2/+10 |
| | |||||
* | Merge pull request #467 from bschopman/master | Dana Powers | 2015-12-02 | 1 | -1/+4 |
|\ | | | | | Prevents crashing communication thread of async producer | ||||
| * | Prevents crashing communication thread of async producer | Balthasar Schopman | 2015-10-22 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | If an uncaught exception occurs in _send_messages() the thread sending data to Kafka (asynchronously) will crash and the queue will never be emptied. To reproduce: 1) Run an Async producer. 2) Kill the Kafka server. 3) Restart the Kafka server. The communication thread dies shortly after step 2. After step 3 the communication does not resume without this commit. The changes in both files prevent an Exception from being thrown through to do main communication process, which could cause the crash. | ||||
* | | Merge pull request #454 from trbs/gzip_compressionlevel | Dana Powers | 2015-12-02 | 1 | -4/+8 |
|\ \ | | | | | | | allow to specify compression level for codecs which support this | ||||
| * | | allow to specify compression level for codecs which support this | trbs | 2015-09-12 | 1 | -4/+8 |
| |/ | |||||
* | | Merge pull request #435 from docker-hub/fix-producer-cleanup-logic | Dana Powers | 2015-12-02 | 1 | -1/+1 |
|\ \ | | | | | | | Reworked the if statement logic to only call stop() on not-stopped producer objects | ||||
| * | | Fixing https://github.com/mumrah/kafka-python/issues/434 | toli | 2015-07-24 | 1 | -1/+1 |
| |/ | | | | | | | | | Reworked the if statement logic to only call stop() on not-stopped objects. added tests | ||||
* | | Merge pull request #409 from scrapinghub/feature-allow-null-payload | Dana Powers | 2015-12-02 | 1 | -3/+9 |
|\ \ | |/ |/| | Allow null payload for deletion feature | ||||
| * | Exclude (null,null) pair for producer | Viktor Shlapakov | 2015-06-17 | 1 | -3/+9 |
| | | |||||
| * | Allow null payload for deletion feature | Viktor Shlapakov | 2015-06-16 | 1 | -1/+1 |
| | | |||||
* | | Log response error type in async producer | Dana Powers | 2015-06-10 | 1 | -2/+3 |
|/ | |||||
* | Add send/receive debug logging to async producer | Dana Powers | 2015-06-09 | 1 | -8/+11 |
| | |||||
* | Support sync_fail_on_error kwarg in Producer | Dana Powers | 2015-06-09 | 1 | -2/+12 |
| | |||||
* | Use a list, not request_tries.keys(), to track requests / responses in async ↵ | Dana Powers | 2015-06-09 | 1 | -2/+4 |
| | | | | producer | ||||
* | Add a few extra docstring comments about thread-safe clients/connections | Dana Powers | 2015-06-08 | 1 | -0/+2 |
| | |||||
* | Add async_stop_timeout parameter to tune how long to let the producer | Dana Powers | 2015-06-06 | 1 | -3/+26 |
| | | | | | keep trying to send messages before timing out. Log an error if async producer was stopped before all messages sent. | ||||
* | Dont stop async producer until all pending messages have been processed | Dana Powers | 2015-06-06 | 1 | -1/+1 |
| | |||||
* | Update Producer class docstring | Dana Powers | 2015-06-06 | 1 | -4/+25 |
| | |||||
* | Deprecate async producer batch_send kwarg -- use 'async' instead | Dana Powers | 2015-06-06 | 1 | -22/+40 |
| | |||||
* | Log retries and failed messages in async producer (configurable as full ↵ | Dana Powers | 2015-06-06 | 1 | -12/+24 |
| | | | | messages or hash()) | ||||
* | PR 331 fixup: do not attempt to get new messages if there are pending retries | Dana Powers | 2015-06-06 | 1 | -4/+9 |
| | |||||
* | PR 331 fixup: Rename reqs dict to request_tries | Dana Powers | 2015-06-06 | 1 | -9/+13 |
| | |||||
* | PR 331 fixup: Dont need try/except when calling send_produce_requests with ↵ | Dana Powers | 2015-06-06 | 1 | -15/+16 |
| | | | | fail_on_error=False | ||||
* | PR 331 fixup: log warnings on async producer backoff and metadata refresh | Dana Powers | 2015-06-06 | 1 | -1/+2 |
| | |||||
* | PR 331 fixup: Support unlimited retries with async_retry_limit=None | Dana Powers | 2015-06-06 | 1 | -6/+8 |
| | | | | Async producer defaults are now retry everything always w/ 100ms backoff | ||||
* | PR 331 fixup: fix _handle_error closure | Dana Powers | 2015-06-06 | 1 | -16/+17 |
| | |||||
* | PR 331 fixup: Fix kafka.common imports from kafka.producer.base (one import ↵ | Dana Powers | 2015-06-06 | 1 | -3/+2 |
| | | | | block, add ProduceResponse) | ||||
* | Use separate module loggers instead of a single 'kafka' logger | Dana Powers | 2015-06-06 | 1 | -1/+1 |
| | |||||
* | Fix import error in kafka/producer/base.py | Dana Powers | 2015-06-06 | 1 | -1/+1 |
| | |||||
* | Check response.error for async producer | Viktor Shlapakov | 2015-06-03 | 1 | -19/+24 |
| | |||||
* | Async producer: py2.6 backward compatibility fix | Viktor Shlapakov | 2015-06-03 | 1 | -2/+2 |
| | |||||
* | Improve async producer code: logic and style fixes | Viktor Shlapakov | 2015-06-03 | 1 | -24/+33 |
| | | | | | | | | | | - 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 | ||||
* | Change backoff message log level | Viktor Shlapakov | 2015-06-03 | 1 | -1/+1 |
| | |||||
* | Fix async producer queue put arguments | Viktor Shlapakov | 2015-06-03 | 1 | -2/+4 |
| |