Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove unused importskafka-3318 | Dana Powers | 2016-04-05 | 3 | -6/+1 |
| | |||||
* | KAFKA-3013: Include topic-partition in exception for expired batches | Dana Powers | 2016-04-05 | 1 | -1/+4 |
| | |||||
* | Update imports from kafka.common -> kafka.errors / kafka.structs | Dana Powers | 2016-04-05 | 6 | -14/+12 |
| | |||||
* | Update max.block.ms docstring | Dana Powers | 2016-04-04 | 1 | -3/+5 |
| | |||||
* | remove unused import. needed a change to kick travis. | Zack Dever | 2016-03-14 | 1 | -1/+0 |
| | |||||
* | make Sender._topics_to_add a set instead of a list | Zack Dever | 2016-03-14 | 1 | -3/+4 |
| | |||||
* | only make a metadata event if we don't know the partitions | Zack Dever | 2016-03-14 | 1 | -1/+4 |
| | |||||
* | Fix producer threading bug that could crash sender (dict changing during ↵accumulator_bugfix | Dana Powers | 2016-03-14 | 1 | -2/+4 |
| | | | | iteration) | ||||
* | Always truncate deallocated produce message bufferstruncate_buffer | Dana Powers | 2016-03-13 | 1 | -12/+5 |
| | |||||
* | Add ignore_leadernotavailable kwarg to SimpleClient.load_metadata_for_topics | Dana Powers | 2016-03-13 | 1 | -1/+1 |
| | |||||
* | Add optional timeout parameter to KafkaProducer.flush() | Dana Powers | 2016-03-13 | 2 | -9/+13 |
| | |||||
* | Fix for FutureProduceResult.await on python2.6 | Dana Powers | 2016-03-13 | 1 | -1/+2 |
| | |||||
* | 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?) | ||||
* | Catch duplicate batch.done() calls -- this can happen if we maybe_expire ↵ | Dana Powers | 2016-02-18 | 1 | -1/+4 |
| | | | | then process a response errback | ||||
* | Warn if pending batches failed during flush | Dana Powers | 2016-02-18 | 1 | -0/+3 |
| | |||||
* | Fix concurrency bug in RecordAccumulator.ready() | Dana Powers | 2016-02-18 | 1 | -2/+6 |
| | |||||
* | Some attributes may not exist in __del__ if we failed assertions | Dana Powers | 2016-02-18 | 1 | -1/+1 |
| | |||||
* | Fix bug in SimpleBufferPool memory condition waiting / timeout | Dana Powers | 2016-02-18 | 1 | -4/+5 |
| | |||||
* | Merge pull request #558 from dpkp/batch_size_zero | Dana Powers | 2016-02-18 | 2 | -5/+7 |
|\ | | | | | Support batch_size = 0 in producer buffers | ||||
| * | Support batch_size = 0 in producer buffersbatch_size_zero | Dana Powers | 2016-02-17 | 2 | -5/+7 |
| | | |||||
* | | Dont override system rcvbuf or sndbuf unless user configures explicitlysocket_buffer_size_optional | Dana Powers | 2016-02-17 | 1 | -4/+6 |
|/ | |||||
* | Cleanup docstring nested indent (acks values) | Dana Powers | 2016-02-15 | 1 | -9/+10 |
| | |||||
* | Cleaner event handling in _wait_on_metadata | Dana Powers | 2016-02-15 | 1 | -15/+9 |
| | |||||
* | Remove unused internal sender lock | Dana Powers | 2016-02-15 | 2 | -24/+20 |
| | |||||
* | Revisit _wait_on_metadata to address timeout and error handling (Issue 539) | Dana Powers | 2016-02-15 | 1 | -20/+19 |
| | |||||
* | Fixup RequestTimeoutError -> RequestTimedOutError | Dana Powers | 2016-02-15 | 1 | -1/+1 |
| | |||||
* | Add more debug/trace statements to sender loop | Dana Powers | 2016-02-02 | 1 | -0/+2 |
| | |||||
* | Fix accumulator bug: expired batches should be removed from the internal queue | Dana Powers | 2016-02-02 | 1 | -0/+10 |
| | |||||
* | Add support for LZ4 compressed messages using python-lz4 module | Dana Powers | 2016-01-25 | 3 | -4/+5 |
| | |||||
* | Add KafkaProducer to kafka and kafka.producer module imports | Dana Powers | 2016-01-24 | 1 | -1/+3 |
| | |||||
* | Implement new KafkaProducer, mimicing java client interface / design | Dana Powers | 2016-01-24 | 1 | -0/+496 |
| | |||||
* | Sender class to manage background IO for KafkaProducer | Dana Powers | 2016-01-24 | 1 | -0/+272 |
| | |||||
* | RecordAccumulator and RecordBatch, for use by async batching KafkaProducer | Dana Powers | 2016-01-24 | 1 | -0/+500 |
| | |||||
* | Add thread-aware futures for use with KafkaProducer | Dana Powers | 2016-01-24 | 1 | -0/+66 |
| | |||||
* | Add MessageSetBuffer and SimpleBufferPool to manage producer messages | Dana Powers | 2016-01-24 | 1 | -0/+388 |
| | |||||
* | Merge branch '0.9' | Dana Powers | 2016-01-07 | 3 | -43/+51 |
|\ | | | | | | | | | | | | | | | Conflicts: kafka/codec.py kafka/version.py test/test_producer.py test/test_producer_integration.py | ||||
| * | 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 | 3 | -11/+0 |
| | | |||||
| * | Update references to kafka.common Request/Response (now Payload) | Dana Powers | 2015-12-09 | 1 | -8/+9 |
| | | |||||
* | | Handle new topic creation / LeaderNotAvailableError in initial ↵ | Dana Powers | 2015-12-16 | 1 | -1/+1 |
|/ | | | | SimpleProducer.send_messages call | ||||
* | 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 |
| |/ |