summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Add Admin CreatePartitions API callAlex Eftimie2018-02-202-1/+32
|
* Removed pytest-catchlog dependencyAndre Araujo2018-02-121-1/+0
| | | | | | | | | No longer necessary since pytest-catchlog has been merged into pytest's core. This commit addresses the following warning in pytest output: pytest-catchlog plugin has been merged into the core, please remove it from your requirements. Fixes #1379
* Bump version for developmentDana Powers2018-02-101-1/+1
|
* Patch Release 1.4.1 (#1376)1.4.1Dana Powers2018-02-093-1/+21
|
* Fix consumer poll stuck error when no available partition (#1375)Yu Kou2018-02-081-1/+1
|
* Increase some integration test timeouts (#1374)Dana Powers2018-02-085-11/+26
|
* Use raw in case string overriden (#1373)Jeff Widman2018-02-081-2/+2
|
* Fix pending completion IndexError bug caused by multiple threads (#1372)Dana Powers2018-02-081-2/+8
|
* Bump version for development of next releaseDana Powers2018-02-071-1/+1
|
* Release 1.4.01.4.0Dana Powers2018-02-076-7/+189
|
* pylint 1.8.2 (#1369)Dana Powers2018-02-062-2/+2
|
* use absolute imports everywhere (#1362)Kevin Tindall2018-02-0643-144/+144
|
* Add Request/Response structs for kafka broker 1.0.0Dana Powers2018-02-066-36/+167
|
* Avoid consuming duplicate compressed messages from mid-batch (#1367)Dana Powers2018-02-052-2/+51
|
* KAFKA-3949: Avoid race condition when subscription changes during rebalance ↵Dana Powers2018-02-027-109/+128
| | | | (#1364)
* Add kafka 1.0.0 to travis integration testsDana Powers2018-02-011-0/+1
|
* Bump `lz4` in `requirements-dev.txt` (#1359)Jeff Widman2018-01-311-1/+1
|
* Use latest pytest 3.4.0, but drop pytest-sugar due to incompatibility (#1361)Dana Powers2018-01-312-3/+1
|
* Stop pinning lz4Jeff Widman2018-01-261-1/+1
| | | | | Opening a PR to check if tests pass with the new version. If so, we'll want to bump `requirements-dev.txt` as well. Many thanks to @jonathanunderwood for his diligent work here: https://github.com/dpkp/kafka-python/issues/1021#issuecomment-359161985
* Use 0.11.0.2 kafka broker for integration testing (#1357)Dana Powers2018-01-257-4/+192
|
* Fix for Python 3 byte string handling in SASL auth (#1353)Christophe Lecointe2018-01-242-2/+4
|
* Remove assertion with side effect (#1348)Buğra Gedik2018-01-231-2/+2
|
* fix reconnect_backoff_max_ms default config bug in KafkaProducer (#1352)C.YAO2018-01-231-1/+1
|
* Name heartbeat thread with group_id; use backoff when polling (#1345)Dana Powers2018-01-161-1/+1
|
* Minor test cleanups (#1343)Dana Powers2018-01-123-2/+5
|
* Avoid KeyError when filtering fetchable partitions (#1344)Dana Powers2018-01-121-2/+2
| | | | * Avoid KeyError when filtering fetchable partitions
* Honor reconnect_backoff in conn.connect() (#1342)Dana Powers2018-01-112-1/+3
| | | * Honor reconnect_backoff in conn.connect()
* Fix coordinator join_future race condition (#1338)Dana Powers2018-01-112-4/+21
| | | * Fix race condition in coordinator join_future handling
* Read all available socket bytes (#1332)Dana Powers2018-01-104-22/+28
| | | | * Recv all available network bytes before parsing * Add experimental support for configuring socket chunking parameters
* Improve KafkaConsumer cleanup (#1339)Dana Powers2018-01-105-22/+62
|
* Fix typo in _try_authenticate_plain (#1333)everpcpc2017-12-281-1/+1
|
* Add security layer negotiation to the GSSAPI authentication. (#1283)Andre Araujo2017-12-261-22/+43
| | | | | | | | | | | | | | | | | | When trying to establish a connection with Kafka using SASL with the GSSAPI authentication mechanism the connection was hanging an timing out after 60 secons. On the Kafka broker side I noticed that the SaslServerAuthenticator was going from the AUTHENTICATE to the FAILED state. The GSSAPI auth implementation was missing the second handshake defined in RFC 2222, which happens after the security context is established. This handshake is used by the client and server to negotiate the security layer (QoP) to be used for the connection. Kafka currently only support the "auth" QoP, so the implementation in this commit doesn't make it configurable, but this can be extended later. With this change I was able to successfully connect to a Kerberos-enabled Kafka broker using the SASL_PLAINTEXT protocol and the GSSAPI mechanism.
* Raise non-API exceptions (#1316)Jeff Widman2017-12-211-5/+1
| | | | | | | | | | | | | The original intent was to catch API exceptions (errors returned by the broker when trying to produce a message) and delegate them to the messages' futures. This is copied from the Java producer. However, we were accidentally catching all exceptions, thereby hiding exceptions from users unless they explicitly check the result of the future. Much better to raise client-side errors directly in the foreground so the user is immediately aware of them and can decide how to handle. Fix #1274
* KAFKA-3888 Use background thread to process consumer heartbeats (#1266)Dana Powers2017-12-2114-738/+977
|
* Pin pylint and lz4 to avoid breaking tests (#1330)Dana Powers2017-12-212-2/+4
|
* Minor Exception cleanupJeff Widman2017-12-127-10/+10
|
* Use non-deprecated exception handlingJeff Widman2017-12-121-1/+1
| | | Pulls in the fix upstream from https://github.com/mhils/backports.socketpair/pull/1
* Raise better struct pack/unpack errors (#1320)Jeff Widman2017-12-121-4/+8
|
* Followup cleanup to #1304Jeff Widman2017-12-081-2/+1
| | | https://github.com/dpkp/kafka-python/pull/1304/files#r155842880
* Refactor dns lookup in BrokerConnection (#1312)Dana Powers2017-12-082-61/+74
|
* optimize util.crc32 (#1304)Ofek Lev2017-12-081-8/+15
|
* use python standard max value (#1303)lukeWx2017-12-074-4/+4
|
* changed for to use enumerate() (#1301)Benn Roth2017-12-061-2/+1
|
* Change fixture default host to localhost (#1305)Andre Araujo2017-12-051-15/+1
|
* Fix two bugs in printing bytes instanceAndre Araujo2017-11-271-1/+1
| | | | | | | | | Bug 1: When `value` is None, trying to call `len(None)` throws an exception. Bug 2: When len(`value`) <= 100, the code currently prints b'' rather than `value`.
* Revert ffc7caef13a120f69788bcdd43ffa01468f575f9 / PR #1239Dana Powers2017-11-162-30/+2
| | | | The change caused a regression documented in issue #1290
* Use correct casing for MBJeff Widman2017-11-152-2/+2
| | | | | | These values refer to Megabytes, not Megabits. Fix #1295
* Replace periods (java) with underscores (python)Jeff Widman2017-11-071-2/+2
|
* Add license to wheelJeff Widman2017-11-031-0/+3
| | | https://wheel.readthedocs.io/en/stable/index.html#including-the-license-in-the-generated-wheel-file
* Use socket timeout of request_timeout_ms to prevent blocking forever on send ↵Dana Powers2017-10-251-6/+7
| | | | (#1281)