summaryrefslogtreecommitdiff
path: root/kafka/producer
Commit message (Collapse)AuthorAgeFilesLines
* Always absolute_importabsolute_importDana Powers2016-08-021-0/+2
|
* Clarify api_version=str deprecation warningDana Powers2016-08-021-1/+1
|
* Merge pull request #785 from dpkp/sixDana Powers2016-08-013-3/+3
|\ | | | | Vendor python module six; move selectors34 and socketpair under kafka.vendor
| * Vendor six 1.10.0sixDana Powers2016-08-013-3/+3
| |
* | Rename _DEFAULT_CONFIG -> DEFAULT_CONFIG in KafkaProducer (#788)Dana Powers2016-08-013-6/+6
|/ | | - also update internal classes RecordAccumulator and Sender
* Use socket_options configuration to setsockopts(). Default TCP_NODELAY (#783)Dana Powers2016-08-011-0/+5
|
* Add KafkaClient metricsmore_metricsDana Powers2016-07-171-1/+2
|
* Record produce latency and throttling metricsDana Powers2016-07-171-4/+9
|
* Avoid buffer overread when compressing messageset in KafkaProducerDana Powers2016-07-171-1/+2
|
* KAFKA-3196: Add checksum and size to RecordMetadata and ConsumerRecord ↵Dana Powers2016-07-174-16/+30
| | | | (#770 / #594)
* Simplify RecordMetadata; short circuit callbacks (#768)Dana Powers2016-07-171-19/+7
| | | | Simplify RecordMetadata to unaltered namedtuple -- minor speed optimization Minor optimization: inline check for no callbacks
* Expose selector type as config option (#764)Dana Powers2016-07-161-1/+5
|
* Update kafka configuration links -> 0.10.0.0 docsDana Powers2016-07-161-1/+1
|
* First stab at public metrics() interface for KafkaConsumer / KafkaProducerDana Powers2016-07-161-0/+15
|
* Add initial producer-sender metricsDana Powers2016-07-164-13/+250
|
* Add api_version config to KafkaClient, deprecate str in favor of tuples (#761)Dana Powers2016-07-161-12/+18
|
* Fix bug causing KafkaProducer to double-compress message batches on retrydouble_compressionDana Powers2016-07-141-16/+23
|
* Avoid AttributeErrors in _unregister_cleanup (#747)Dana Powers2016-07-051-1/+1
|
* allow client.check_version timeout to be set in Producer and Consumer ↵eastlondoner2016-06-291-1/+5
| | | | | constructors (#647) * allow client.check_version timeout to be set in Producer and Consumer constructors
* Wakeup socket optimizations (#740)Dana Powers2016-06-261-1/+6
|
* Clarify timeout unit (#734)ms7s2016-06-211-1/+8
|
* Use weakref when registering a producer.close atexit to fix normal gc (#728)Dana Powers2016-06-181-3/+37
| | | | * Use weakref when registering a producer.close atexit to fix normal gc * Test that del(producer) terminates async thread
* KAFKA-3388: Fix expiration of batches sitting in the accumulator (#699)Dana Powers2016-05-221-7/+39
|
* KAFKA-3197: when max.in.flight.request.per.connection = 1, attempt to ↵Dana Powers2016-05-223-11/+33
| | | | guarantee ordering (#698)
* Dont use soon-to-be-reserved keyword await as function name ↵Dana Powers2016-05-222-3/+3
| | | | (FutureProduceResult) (#697)
* Use standard LZ4 framing for v1 messages / kafka 0.10 (#695)Dana Powers2016-05-221-1/+8
| | | | | | * LZ4 framing fixed in 0.10 / message v1 -- retain broken lz4 code for compatibility * lz4f does not support easy incremental decompression - raise RuntimeError * Update lz4 codec tests
* Use Fetch/Produce API v2 for brokers >= 0.10 (uses message format v1) (#694)Dana Powers2016-05-222-4/+15
|
* KAFKA-3025: Message v1 -- add timetamp and use relative offset in compressed ↵Dana Powers2016-05-225-29/+51
| | | | messagesets
* Add CRL support to SSL support (#683)Vincent Bernat2016-05-191-0/+6
| | | | A user can provide a CRL whose peer certificate will be checked against. This only works with Python 3.4+ and Python 2.7.9+.
* Add protocol support for ApiVersionRequest; identify 0.10 brokers in ↵check_version_0_10Dana Powers2016-05-021-1/+1
| | | | check_version
* Add SSL configuration kwargs to KafkaClient, KafkaConsumer, KafkaProducerDana Powers2016-04-091-0/+21
|
* KAFKA-2136: support Fetch and Produce v1 (throttle_time_ms)kafka-2136Dana Powers2016-04-061-3/+5
|
* Use version-indexed lists for request/response protocol structsprotocol_versionsDana Powers2016-04-051-3/+1
|
* Remove unused importskafka-3318Dana Powers2016-04-053-6/+1
|
* KAFKA-3013: Include topic-partition in exception for expired batchesDana Powers2016-04-051-1/+4
|
* Update imports from kafka.common -> kafka.errors / kafka.structsDana Powers2016-04-056-14/+12
|
* Update max.block.ms docstringDana Powers2016-04-041-3/+5
|
* remove unused import. needed a change to kick travis.Zack Dever2016-03-141-1/+0
|
* make Sender._topics_to_add a set instead of a listZack Dever2016-03-141-3/+4
|
* only make a metadata event if we don't know the partitionsZack Dever2016-03-141-1/+4
|
* Fix producer threading bug that could crash sender (dict changing during ↵accumulator_bugfixDana Powers2016-03-141-2/+4
| | | | iteration)
* Always truncate deallocated produce message bufferstruncate_bufferDana Powers2016-03-131-12/+5
|
* Add ignore_leadernotavailable kwarg to SimpleClient.load_metadata_for_topicsDana Powers2016-03-131-1/+1
|
* Add optional timeout parameter to KafkaProducer.flush()Dana Powers2016-03-132-9/+13
|
* Fix for FutureProduceResult.await on python2.6Dana Powers2016-03-131-1/+2
|
* Update base.pyTom Most2016-02-261-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 Powers2016-02-181-1/+4
| | | | then process a response errback
* Warn if pending batches failed during flushDana Powers2016-02-181-0/+3
|
* Fix concurrency bug in RecordAccumulator.ready()Dana Powers2016-02-181-2/+6
|
* Some attributes may not exist in __del__ if we failed assertionsDana Powers2016-02-181-1/+1
|