summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix conn.connection_delayexp_backoffDana Powers2017-06-191-2/+2
|
* Update KafkaConsumer / KafkaProducer docstrings and defaultsDana Powers2017-06-182-10/+18
|
* Update per KIP-144Dana Powers2017-06-182-10/+22
|
* Use randomized exponential backoff policy for BrokerConnectionDana Powers2017-06-184-22/+49
|
* Fixup for #1085 -- only check for changed metadata on disconnected nodesDana Powers2017-06-181-17/+23
|
* Deal with brokers that disappear, reappear with different IP address (#1085)Mike Fischer2017-06-181-1/+12
| | | | | | | | | | | | | | | | | | | | When KafkaClient connects to a broker in _maybe_connect, it inserts into self._conns a BrokerConnection configured with the current host/port for that node. The BrokerConnection remains there forever, though, so if the broker's IP or host ever changes, KafkaClient has no way to deal with this. The fix is to compare the latest metadata with the current node's connection, and if the host/IP has changed, decommission the old connection and allow a new one to be created. There's also a common race condition on broker startup where the initial metadata request sometimes returns an empty list of brokers, but subsequent requests behave normally. So, we must deal with broker being None here. This change is conservative in that it doesn't remove the connection from self._conns unless the new broker metadata contains an entry for that same node with a new IP/port.
* Do not test fetched_size with fetch_max_bytes since 0.11 brokers will return ↵Dana Powers2017-06-181-3/+0
| | | | more data than 0.10
* Increase max_buffer_size for test_large_messagesDana Powers2017-06-181-2/+8
|
* Fix fetch_max_bytes=1 consumer integration testDana Powers2017-06-181-10/+10
|
* Use fixture hostname (dont assume localhost)Dana Powers2017-06-182-2/+2
|
* Add 0.11.0.0 server resources (reduced offsets.topic.replication.factor=1)Dana Powers2017-06-183-0/+188
|
* Describe consumer thread-safetyLinus Wallgren2017-06-164-3/+25
|
* Update exception docstringAndrew Kowalik2017-06-161-1/+1
|
* raise KafkaTimeoutException when flush times outAndrew Kowalik2017-06-162-2/+9
|
* Follow-up: support manual py26 testing; dont advertise 3.3 supportDana Powers2017-06-162-3/+10
|
* Add kafka 0.10.2.1 into integration testing version (#1096)Jianbin Wei2017-06-169-20/+199
| | | | | * Add kafka 0.10.2.1 into integration testing version * Disable tests for python 2.6 and kafka 0.8.0 and 0.8.1.1 * Remove references to python 2.6 support
* pylint 1.7.0+ supports python 3.6 and merge py36 into common tstenv (#1095)Jianbin Wei2017-05-031-6/+1
|
* Improve error message when expiring batches in KafkaProducer (#1077)Dana Powers2017-05-031-7/+11
|
* Warn dont raise on DNS lookup failures (#1091)Dana Powers2017-05-031-5/+7
|
* Ignore not-context-manager pylint error (#1092)Dana Powers2017-04-291-0/+3
|
* Follow-up to #1068: remove not-implemented commentsDana Powers2017-04-102-2/+2
|
* readthedocs.io follow-up to #1074 for docs/Dana Powers2017-04-103-3/+3
|
* Update RTD links with https / .io (#1074)Jeff Widman2017-04-101-6/+6
|
* Timeout idle connections via connections_max_idle_ms (#1068)Dana Powers2017-04-104-6/+135
|
* Avoid multiple connection attempts when refreshing metadata (#1067)Dana Powers2017-04-052-58/+73
|
* Catch socket.errors when sending / recving bytes on wake socketpair (#1069)Dana Powers2017-04-051-2/+4
|
* Fix poll() hyperlink in KafkaClientJeff Widman2017-03-291-1/+1
| | | Previously Sphinx was auto-linking to `poll()` in `KafkaConsumer`, so made the link explicit.
* Update README: Prefer python-lz4 over lz4tools (#1057)Kirill Ignatev2017-03-271-4/+3
|
* Fix typo (#1054)Jeff Widman2017-03-271-1/+1
|
* Bump version for developmentDana Powers2017-03-141-1/+1
|
* Release 1.3.31.3.3Dana Powers2017-03-143-3/+9
|
* Derive all api classes from Request / Response base classes (#1030)Dana Powers2017-03-1413-88/+146
|
* Alter test skips: python-lz4 works on python26, but not pypyDana Powers2017-03-143-7/+14
|
* LZ4 support in kafka 0.8/0.9 does not accept a ContentSize headerDana Powers2017-03-141-6/+14
|
* Prefer python-lz4 over lz4f if availableDana Powers2017-03-144-15/+37
|
* Free lz4 decompression context to avoid leakDana Powers2017-03-141-0/+1
|
* Update changelogDana Powers2017-03-132-0/+16
|
* Avoid re-encoding for message crc check (#1027)Dana Powers2017-03-132-6/+36
|
* Additional docstrings for autocommit close optionDana Powers2017-03-133-3/+17
|
* Optionally skip auto-commit during consumer.close (#1031)Dana Powers2017-03-132-4/+5
|
* Return copy of consumer subscription set (#1029)Dana Powers2017-03-132-1/+9
|
* Fix kwarg handing in kafka.protocol.struct.Struct (#1025)Dana Powers2017-03-092-2/+21
|
* Short-circuit group coordinator requests when NodeNotReady (#995)Dana Powers2017-03-091-0/+23
|
* Avoid unknown coordinator after client poll (#1023)Dana Powers2017-03-091-7/+6
|
* Add optional kwarg to ready and is_ready to disable metadata-priority logic ↵Dana Powers2017-03-081-7/+16
| | | | (#1017)
* A few Sphinx documentation updates (#1019)Jeff Widman2017-03-081-3/+3
|
* Fix integration test that requires consumer groupDana Powers2017-03-071-1/+4
|
* Update changelogDana Powers2017-03-072-0/+8
|
* Fixed couple of "leaks" when gc is disabled (#979)Max Baryshnikov2017-03-074-16/+27
|
* Fixup :meth: sphinx documentation for use in KafkaConsumer.rst etcDana Powers2017-03-072-35/+49
|