summaryrefslogtreecommitdiff
path: root/kafka/conn.py
Commit message (Collapse)AuthorAgeFilesLines
* Add kafka.protocol.parser.KafkaProtocol w/ receive and sendprotocol_parserDana Powers2017-09-231-145/+44
|
* Remove a few unused imports (#1188)James Lamb2017-08-291-1/+0
| | | | | * Removed a few unused imports * Added note on socketpair monkey-path
* BrokerConnection receive bytes pipe (#1032)Dana Powers2017-08-151-77/+84
|
* Added `beginning_offsets` and `end_offsets` API's and fixed @jeffwidman ↵Taras Voinarovskiy2017-08-071-1/+1
| | | | review issues
* Added basic support for offsets_for_times API. Still needs to group by nodes ↵Taras Voinarovskiy2017-08-071-0/+1
| | | | and send in parallel.
* Add private map of api key -> min/max versions to BrokerConnection (#1169)Dana Powers2017-08-061-11/+21
|
* conn: Catch ssl.EOFErrors on Python3.3 so we close the failing conn (#1162)Hannu Valtonen2017-08-011-1/+3
|
* added gssapi support (Kerberos) for SASL (#1152)Harald2017-07-201-2/+75
|
* Use logging's built-in string interpolationJeff Widman2017-07-071-4/+4
|
* KIP-144: Exponential backoff for broker reconnections (#1124)Dana Powers2017-06-191-3/+37
|
* Warn dont raise on DNS lookup failures (#1091)Dana Powers2017-05-031-5/+7
|
* Timeout idle connections via connections_max_idle_ms (#1068)Dana Powers2017-04-101-2/+4
|
* Derive all api classes from Request / Response base classes (#1030)Dana Powers2017-03-141-4/+4
|
* Add client info logging re bootstrap; log connection attempts to balance ↵Dana Powers2017-03-061-1/+1
| | | | with close
* Small cleanup for #962Dana Powers2017-03-061-4/+9
|
* Added `max_bytes` option and FetchRequest_v3 usage. (#962)Taras Voinarovskyi2017-03-061-1/+24
| | | | * Added `max_bytes` option and FetchRequest_v3 usage. * Add checks for versions above 0.10 based on ApiVersionResponse
* Add more debug-level connection loggingDana Powers2017-03-061-0/+7
|
* Do not need str(self) when formatting to %sDana Powers2017-03-061-16/+16
|
* When closing a broker connection without error, fail in-flight-requests with ↵Dana Powers2017-03-031-1/+1
| | | | Cancelled (#1010)
* Include the node id in BrokerConnection __repr__ (#1009)Dana Powers2017-03-031-2/+2
|
* Mark last_attempt time during connection close to fix blackout calculation ↵Dana Powers2017-03-031-0/+1
| | | | (#1008)
* Catch socket errors during ssl handshake (#1007)Dana Powers2017-03-031-1/+1
|
* Fix sasl reconnect bug: auth future must be reset on close (#1003)Dana Powers2017-03-031-0/+1
|
* Fix BrokerConnection api_version docs default (#909)Jeff Widman2017-02-281-4/+3
|
* Move BrokerConnection docstring to class (#968)Jeff Widman2017-02-081-68/+69
|
* Add support for Python built without ssl (#939) (#954)Sho Minagawa2017-02-031-17/+28
|
* Do not re-close a disconnected connectionDana Powers2017-01-191-1/+0
|
* Drop unused last_failure time from BrokerConnectionDana Powers2017-01-191-4/+1
|
* Use connection state functions where possibleDana Powers2017-01-191-0/+1
|
* Pass error to BrokerConnection.close()Dana Powers2017-01-191-19/+27
|
* Fix typo: coorelation --> correlation (#929)Jeff Widman2017-01-111-5/+5
|
* Make SSL warning list the correct Python versions (#924)Jeff Widman2017-01-041-3/+3
|
* Bug fix: ret = err => ret = err.errno (#907)guojh2016-12-171-1/+1
|
* Fixup doc references to max_in_flight_requests_per_connectionDana Powers2016-12-171-1/+1
|
* Fix typo: passowrd --> password (#901)Jeff Widman2016-12-121-1/+1
|
* DOC: Fix typo 'Defualt' -> 'Default'. (#895)Rolando (Max) Espinoza2016-11-301-1/+1
|
* When hostname lookup is necessary, do every connect (#812)Evan Bender2016-11-201-5/+9
| | | | | Fixes a bug where lookup was done only once for the whole life of the process -- if a broker's IP changed, client couldn't reconnect.
* Always check for request timeouts (#887)Dana Powers2016-11-181-4/+4
| | | | * Check for requests that timeout without causing a socket read/write event
* typo (#883)sharego2016-11-151-1/+1
| | | type error
* Update param in warning (#878)Dana Powers2016-11-141-2/+2
|\ | | | | In Kafka 9, advertised.host.name was renamed to advertised.listeners
| * Update param in warningJeff Widman2016-11-111-2/+2
| | | | | | In Kafka 9, advertised.host.name was renamed to advertised.listeners
* | Fix typosJeff Widman2016-11-141-2/+2
|/
* Monkeypatch max_in_flight_requests_per_connection when checking broker ↵Dana Powers2016-09-281-6/+11
| | | | version (#834)
* HOTFIX: Fix BrokerConnectionMetrics when sensors already exist (i.e., on ↵Dana Powers2016-08-081-11/+15
| | | | reconnects) (#799)
* Send combined size and payload bytes to socket to avoid potentially split ↵Dana Powers2016-08-041-6/+6
| | | | packets with TCP_NODELAY (#797)
* Instrument metrics in BrokerConnectionDana Powers2016-08-041-0/+123
|
* Remove unused import from kafka.connDana Powers2016-08-041-1/+1
|
* Add BrokerConnection docstring with configuration parametersDana Powers2016-08-041-0/+65
|
* minor tweaks to get authentication workingLars Jørgen Solberg2016-08-031-8/+7
|
* Use callbacks for sasl handshake request / responseDana Powers2016-08-031-59/+62
|