summaryrefslogtreecommitdiff
path: root/kafka
Commit message (Collapse)AuthorAgeFilesLines
* Fix bug causing KafkaProducer to double-compress message batches on retrydouble_compressionDana Powers2016-07-141-16/+23
|
* Bump version for developmentDana Powers2016-07-101-1/+1
|
* Patch Release 1.2.41.2.4Dana Powers2016-07-081-1/+1
|
* Update consumer_timeout_ms docstring per #749Dana Powers2016-07-081-3/+3
|
* Use explicit subscription state flag to handle seek() during message iterationcompacted_offsetsDana Powers2016-07-082-1/+17
|
* Fix consumer iteration on compacted topicsDana Powers2016-07-081-1/+1
|
* Add ssl_password to default_config dicts. Send ssl_password when loading ↵Ashley McKemie2016-07-083-1/+5
| | | | cert chains (#750)
* Avoid AttributeErrors in _unregister_cleanup (#747)Dana Powers2016-07-051-1/+1
|
* Patch Release 1.2.3Dana Powers2016-07-021-1/+1
|
* Randomize order of topics/partitions processed by fetcher to improve balance ↵Dana Powers2016-06-291-0/+4
| | | | (#732)
* allow client.check_version timeout to be set in Producer and Consumer ↵eastlondoner2016-06-292-2/+10
| | | | | constructors (#647) * allow client.check_version timeout to be set in Producer and Consumer constructors
* Wakeup socket optimizations (#740)Dana Powers2016-06-262-2/+7
|
* assert will be disabled by "python -O" (#736)tyronecai2016-06-231-4/+4
|
* Bump version for developmentDana Powers2016-06-211-1/+1
|
* Patch Release 1.2.21.2.2Dana Powers2016-06-211-1/+1
|
* Clarify timeout unit (#734)ms7s2016-06-211-1/+8
|
* Avoid busy poll during metadata refresh failure with retry_backoff_ms (#733)Dana Powers2016-06-202-30/+47
|
* check_version should scan nodes until version found or timeout (#731)Dana Powers2016-06-192-17/+46
| | | | | * Mute all connection logging during conn.check_version * Always process pending MetadataRequest in conn.check_version * KakfaClient.check_version: Scan all brokers until a version is identified or timeout
* Update KafkaClient.least_loaded_node (#730)Dana Powers2016-06-181-23/+17
| | | | | | - Main node loop should check all known brokers, not just conn objects, which is consistent with the official java client. - This fixes a bug which could cause least_loaded_node to always return the same unavailable node
* Use weakref when registering a producer.close atexit to fix normal gc (#728)Dana Powers2016-06-182-3/+47
| | | | * Use weakref when registering a producer.close atexit to fix normal gc * Test that del(producer) terminates async thread
* Close selector when closing the client connection to fix fd leak. (#729)Michael Smith2016-06-171-0/+1
|
* tweak spelling mistake (#719)steve89182016-06-171-1/+1
|
* Bump version for developmentDana Powers2016-06-011-1/+1
|
* Patch Release 1.2.11.2.1Dana Powers2016-06-011-1/+1
|
* Fix regression in MessageSet decoding wrt PartialMessages (#716)Dana Powers2016-06-011-3/+6
|
* Catch response decode errors and log details (#715)Dana Powers2016-06-011-1/+14
|
* Bump version for developmentDana Powers2016-05-241-1/+1
|
* Release 1.2.01.2.0Dana Powers2016-05-241-1/+1
|
* 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)
* Fix socket leaks in KafkaClient (#696)Dana Powers2016-05-221-10/+10
| | | | | * Cleanup wakeup socketpair on close to avoid leak in KafkaClient * Cleanup unneeded bootstrap connection to avoid leak in KafkaClient * Dont warn on socket disconnections caused by KafkaClient.close()
* Use standard LZ4 framing for v1 messages / kafka 0.10 (#695)Dana Powers2016-05-224-12/+39
| | | | | | * 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-226-9/+66
|
* KAFKA-3025: Message v1 -- add timetamp and use relative offset in compressed ↵Dana Powers2016-05-227-50/+132
| | | | messagesets
* Always pass encoded message bytes to MessageSet.encode()Dana Powers2016-05-222-40/+22
|
* raise ValueError on protocol encode/decode errorsDana Powers2016-05-221-15/+32
|
* Add CRL support to SSL support (#683)Vincent Bernat2016-05-194-0/+29
| | | | 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+.
* Fixup BrokerConnection check_version strict error checking: 0.9 will fail ↵Dana Powers2016-05-171-0/+7
| | | | with CorrelationIdError
* supplement socket.gaierror exception in BrokerConnection.connect() (#687)Erik Beebe2016-05-171-3/+10
| | | supplement socket.gaierror exception to include the host/port
* kafka/conn: use original hostname for SSL checks (#682)Vincent Bernat2016-05-171-2/+4
| | | | | | | | When the address family is not provided, `self.host` is resolved to one of the IP addresses and replaced by it. The SSL context is then built using `self.host` which is now an IP instead of the proper name. Most of the time, hostname cannot be checked this way. Therefore, save the original hostname in a dedicated property and use this property for the SSL context.
* * [SimpleConsumer] Fix legacy SimpleConsumer when using compressed messages* ↵Paul Cavallaro2016-05-101-2/+12
| | | | | [Legacy Protocol] Update legacy protocol to handle compressed messages * [SimpleConsumer] Fix legacy SimpleConsumer when using compressed messages
* Merge pull request #679 from zackdever/kafka-PR-1265-bugfixZack Dever2016-05-031-1/+1
|\ | | | | small bug fix in Sensor
| * small bug fix in SensorZack Dever2016-05-031-1/+1
| | | | | | pulling in this small bug fix from https://github.com/apache/kafka/pull/1265/files#diff-8736b7fd8ad077ea55ea2a8ad61285faR99
* | Add protocol support for ApiVersionRequest; identify 0.10 brokers in ↵check_version_0_10Dana Powers2016-05-024-3/+26
|/ | | | check_version
* Patch release: 1.1.11.1.1Dana Powers2016-04-251-1/+1
|
* Improve socket disconnect handlingdisconnectsDana Powers2016-04-252-5/+23
|
* Disable standard metadata refresh hook during bootstrapDana Powers2016-04-251-0/+2
|
* handle unexpected reads in client_asyncJames Brown2016-04-251-0/+19
| | | | Should fix #661.
* use the same logic for callbacks regardless of is_done statusZack Dever2016-04-251-12/+15
|