Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Handle partial socket send()sock_send_bytes | Dana Powers | 2016-04-05 | 1 | -4/+6 |
| | |||||
* | Improve Broker connection handling of not-ready nodes | Dana Powers | 2016-04-04 | 1 | -24/+26 |
| | | | | | | | - simplify connect state logic - add connecting() method to check state - add BrokerConnection details to exceptions - return NodeNotReady as Future if still connecting | ||||
* | Changed transltae to replace to support python 3 | Tim Evens | 2016-03-30 | 1 | -1/+2 |
| | |||||
* | Kafka IPv6 Support. | Tim Evens | 2016-03-30 | 1 | -6/+42 |
| | | | | | | IPv6 address without port can be defined as the IPv6 address. If the address is a hostname or if a port is included, then the address MUST be wrapped in brackets [] (E.g. [somehost]:1234 or [fd00:1001::2]:1234). | ||||
* | Handle windows socket error codes in BrokerConnection | Dana Powers | 2016-03-17 | 1 | -4/+6 |
| | |||||
* | Fix typo ifr.future.fail => ifr.future.failure | Morten Lied Johansen | 2016-02-26 | 1 | -1/+1 |
| | |||||
* | Dont override system rcvbuf or sndbuf unless user configures explicitlysocket_buffer_size_optional | Dana Powers | 2016-02-17 | 1 | -6/+8 |
| | |||||
* | Catch dns lookup errors when attempting to connect to nodes | Dana Powers | 2016-01-27 | 1 | -2/+8 |
| | |||||
* | Warn on 0.8.2 GroupCoordinator no-topic-quirk, dont raise exception | Dana Powers | 2016-01-23 | 1 | -2/+5 |
| | |||||
* | Pylint ignores to fix weird 2.7 error in new pylint version | Dana Powers | 2016-01-23 | 1 | -0/+3 |
| | |||||
* | Add DeprecationWarnings to legacy KafkaClient, Simple/MultiProcess/Consumer, ↵deprecation_warnings | Dana Powers | 2016-01-12 | 1 | -0/+3 |
| | | | | and KafkaConnection | ||||
* | Docstring updates | Dana Powers | 2016-01-07 | 1 | -1/+10 |
| | |||||
* | Catch py3 ConnectionErrors | Dana Powers | 2016-01-03 | 1 | -7/+18 |
| | |||||
* | Check for 0.8.2 GroupCoordinator quirk in BrokerConnection | Dana Powers | 2016-01-03 | 1 | -1/+13 |
| | |||||
* | Fix timeout bug in BrokerConnection.connect() | Dana Powers | 2016-01-03 | 1 | -8/+9 |
| | |||||
* | Fixup b6a2ad9: Fail with ConnectionErrors in BrokerConnection.send | Dana Powers | 2016-01-02 | 1 | -2/+3 |
| | |||||
* | Prefer assert or more-specific error to IllegalState / IllegalArgument | Dana Powers | 2015-12-30 | 1 | -8/+3 |
| | |||||
* | BrokerConnection: wrap socket errors in retriable ConnectionError | Dana Powers | 2015-12-30 | 1 | -3/+3 |
| | |||||
* | Switch configs from attributes to dict to make passing / inspecting easier | Dana Powers | 2015-12-29 | 1 | -25/+31 |
| | |||||
* | Use _next_correlation_id() method to avoid int overflows | Dana Powers | 2015-12-29 | 1 | -4/+8 |
| | |||||
* | Use ConnectionError rather than new DisconnectError | Dana Powers | 2015-12-29 | 1 | -2/+2 |
| | |||||
* | Update BrokerConnection for use with async client | Dana Powers | 2015-12-28 | 1 | -39/+74 |
| | | | | | | | | | - use descriptive names for ConnectionStates enum values - Change default send_buffer_bytes config to 131072 - add can_send_more() and max_in_flight_requests_per_connection config - add blacked_out() and reconnect_backoff_ms config - last_attempt and last_failure are now public attributes - raise TooManyInFlightRequests in conn.send() if cant send more | ||||
* | Switch BrokerConnection to (mostly) non-blocking IO. | Dana Powers | 2015-12-17 | 1 | -81/+218 |
| | | | | | | - return kafka.Future on send() - recv is now non-blocking call that completes futures when possible - update KafkaClient to block on future completion | ||||
* | Check for no in-flight-requests in BrokerConnection.recv | Dana Powers | 2015-12-10 | 1 | -0/+3 |
| | |||||
* | Move Request / Response logging from KafkaClient to BrokerConnection | Dana Powers | 2015-12-10 | 1 | -2/+4 |
| | | | | and reenable kafka.conn debug logging in tests | ||||
* | Add next_correlation_id_recv + send helper methods to BrokerConnection | Dana Powers | 2015-12-09 | 1 | -0/+8 |
| | |||||
* | Support requests that do not expect a response in BrokerConnection | Dana Powers | 2015-12-09 | 1 | -2/+3 |
| | |||||
* | Exception handling cleanup in BrokerConnection (also catch struct.errors in ↵ | Dana Powers | 2015-12-09 | 1 | -4/+4 |
| | | | | recv) | ||||
* | Add client_id and correlation_id to BrokerConnection constructor kwargs | Dana Powers | 2015-12-09 | 1 | -3/+7 |
| | |||||
* | Add size and correlation id decoding to try/except block in BrokerConnection | Dana Powers | 2015-12-04 | 1 | -4/+5 |
| | |||||
* | BrokerConnection: | Dana Powers | 2015-12-04 | 1 | -11/+65 |
| | | | | | | separate send / recv in BrokerConnection improve connection and error handling use different read and write fds for py3 | ||||
* | Add simple BrokerConnection class; add request.RESPONSE_TYPE class vars | Dana Powers | 2015-12-04 | 1 | -0/+36 |
| | |||||
* | Merge pull request #473 from ecanzonieri/use_unblocking_io_for_aware_requests | Dana Powers | 2015-12-02 | 1 | -0/+5 |
|\ | | | | | Use unblocking io for broker aware requests | ||||
| * | Unblocking broker aware request | Enrico Canzonieri | 2015-11-10 | 1 | -0/+5 |
| | | |||||
* | | Support retry semantics in MultiProcessConsumer | Ross Duggan | 2015-09-14 | 1 | -0/+4 |
|/ | |||||
* | Add a few extra docstring comments about thread-safe clients/connections | Dana Powers | 2015-06-08 | 1 | -3/+5 |
| | |||||
* | Use separate module loggers instead of a single 'kafka' logger | Dana Powers | 2015-06-06 | 1 | -1/+2 |
| | |||||
* | Returned original tests, rm dirty flag, name fixes | Viktor Shlapakov | 2015-02-25 | 1 | -1/+0 |
| | |||||
* | Make KafkaConnection copies usable across threads | Alexey Borzenkov | 2015-02-25 | 1 | -0/+4 |
| | |||||
* | Add Sphinx API docs | Will Daly | 2015-01-15 | 1 | -8/+15 |
| | |||||
* | Merge pull request #227 from wizzat-feature/py3 | Dana Powers | 2014-09-07 | 1 | -4/+10 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python 3 Support Conflicts: kafka/producer.py test/test_client.py test/test_client_integration.py test/test_codec.py test/test_consumer.py test/test_consumer_integration.py test/test_failover_integration.py test/test_producer.py test/test_producer_integration.py test/test_protocol.py test/test_util.py | ||||
| * | Fix more tests, only multiprocessing consumer ones remaining | Bruno Renié | 2014-09-03 | 1 | -0/+4 |
| | | |||||
| * | Make all unit tests pass on py3.3/3.4 | Bruno Renié | 2014-09-03 | 1 | -4/+6 |
| | | |||||
* | | Minor import cleanups | Dana Powers | 2014-09-04 | 1 | -1/+1 |
|/ | |||||
* | Add pylint to tox.ini; test both kafka and test; default to error-checking ↵ | Dana Powers | 2014-08-25 | 1 | -3/+3 |
| | | | | only; fixup errors; skip kafka/queue.py | ||||
* | Improve docstrings in kafka.conn | Dana Powers | 2014-08-19 | 1 | -4/+14 |
| | |||||
* | Shutdown socket before closing in kafka.conn | Dana Powers | 2014-08-19 | 1 | -0/+9 |
| | |||||
* | Remove duplicate error handling blocks by moving empty response check into ↵ | Dana Powers | 2014-08-19 | 1 | -4/+8 |
| | | | | try block in conn.recv | ||||
* | Remove self._dirty and check self._sock instead in kafka.conn | Dana Powers | 2014-08-19 | 1 | -6/+11 |
| | |||||
* | socket.sendall should always raise an exception on error; remove extra ↵ | Dana Powers | 2014-08-19 | 1 | -6/+7 |
| | | | | return val check in KafkaConnection.send() |