Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Vendor six 1.10.0six | Dana Powers | 2016-08-01 | 1 | -1/+1 |
| | |||||
* | Move kafka.socketpair to kafka.vendor.socketpair | Dana Powers | 2016-08-01 | 1 | -1/+1 |
| | |||||
* | Move kafka.selectors34 to kafka.vendor.selectors34 | Dana Powers | 2016-08-01 | 1 | -1/+1 |
| | |||||
* | Use socket_options configuration to setsockopts(). Default TCP_NODELAY (#783) | Dana Powers | 2016-08-01 | 1 | -7/+11 |
| | |||||
* | Add KafkaClient metricsmore_metrics | Dana Powers | 2016-07-17 | 1 | -1/+51 |
| | |||||
* | Explicit format string argument indices for python 2.6 compatibility | Dana Powers | 2016-07-17 | 1 | -1/+1 |
| | |||||
* | Expose selector type as config option (#764) | Dana Powers | 2016-07-16 | 1 | -1/+5 |
| | |||||
* | Protect writes to wakeup socket with threading lock (#763 / #709) | Dana Powers | 2016-07-16 | 1 | -2/+6 |
| | |||||
* | Use MetadataRequest v1 for 0.10+ api_versionmetadata_v1 | Dana Powers | 2016-07-16 | 1 | -3/+14 |
| | |||||
* | Add api_version config to KafkaClient, deprecate str in favor of tuples (#761) | Dana Powers | 2016-07-16 | 1 | -2/+28 |
| | |||||
* | Add ssl_password to default_config dicts. Send ssl_password when loading ↵ | Ashley McKemie | 2016-07-08 | 1 | -0/+1 |
| | | | | cert chains (#750) | ||||
* | Wakeup socket optimizations (#740) | Dana Powers | 2016-06-26 | 1 | -1/+1 |
| | |||||
* | Avoid busy poll during metadata refresh failure with retry_backoff_ms (#733) | Dana Powers | 2016-06-20 | 1 | -30/+43 |
| | |||||
* | check_version should scan nodes until version found or timeout (#731) | Dana Powers | 2016-06-19 | 1 | -12/+41 |
| | | | | | * 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 Powers | 2016-06-18 | 1 | -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 | ||||
* | Close selector when closing the client connection to fix fd leak. (#729) | Michael Smith | 2016-06-17 | 1 | -0/+1 |
| | |||||
* | Fix socket leaks in KafkaClient (#696) | Dana Powers | 2016-05-22 | 1 | -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() | ||||
* | Add CRL support to SSL support (#683) | Vincent Bernat | 2016-05-19 | 1 | -0/+6 |
| | | | | 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+. | ||||
* | Improve socket disconnect handlingdisconnects | Dana Powers | 2016-04-25 | 1 | -1/+1 |
| | |||||
* | Disable standard metadata refresh hook during bootstrap | Dana Powers | 2016-04-25 | 1 | -0/+2 |
| | |||||
* | handle unexpected reads in client_async | James Brown | 2016-04-25 | 1 | -0/+19 |
| | | | | Should fix #661. | ||||
* | as per code review | Chris Lane | 2016-04-14 | 1 | -2/+2 |
| | |||||
* | to squelch the __del issue | Chris Lane | 2016-04-13 | 1 | -2/+4 |
| | |||||
* | Add SSL configuration kwargs to KafkaClient, KafkaConsumer, KafkaProducer | Dana Powers | 2016-04-09 | 1 | -0/+21 |
| | |||||
* | Check for pending ssl bytes in KafkaClient loop | Dana Powers | 2016-04-09 | 1 | -0/+12 |
| | |||||
* | Handle SSL HANDSHAKE state in KafkaClient state change handler | Dana Powers | 2016-04-09 | 1 | -2/+4 |
| | |||||
* | Use selectors module in KafkaClientselectors | Dana Powers | 2016-04-09 | 1 | -32/+33 |
| | |||||
* | Add state_change_callback to bootstrap connectionconn_state_callback | Dana Powers | 2016-04-08 | 1 | -1/+4 |
| | |||||
* | Drop bootstrap connection once first normal broker is connected | Dana Powers | 2016-04-08 | 1 | -0/+6 |
| | |||||
* | Add private _refresh_on_disconnects flag to KafkaClient | Dana Powers | 2016-04-08 | 1 | -2/+8 |
| | |||||
* | Move state logic from KafkaClient._maybe_connect to _conn_state_change as ↵ | Dana Powers | 2016-04-08 | 1 | -19/+19 |
| | | | | callback | ||||
* | Move check_version() logic to BrokerConnection | Dana Powers | 2016-04-08 | 1 | -78/+3 |
| | |||||
* | Default sleep=True in client.poll | Dana Powers | 2016-04-08 | 1 | -1/+1 |
| | |||||
* | Make _wake_r socket non-blocking; drop select from _clear_wake_fd | Dana Powers | 2016-04-08 | 1 | -3/+4 |
| | |||||
* | More _maybe_connect refactoring -- preparing for selectors | Dana Powers | 2016-04-08 | 1 | -7/+15 |
| | |||||
* | Use conn.connecting() checks to support multiple connecting states | Dana Powers | 2016-04-07 | 1 | -3/+3 |
| | |||||
* | Use version-indexed lists for request/response protocol structsprotocol_versions | Dana Powers | 2016-04-05 | 1 | -9/+9 |
| | |||||
* | Update imports from kafka.common -> kafka.errors / kafka.structs | Dana Powers | 2016-04-05 | 1 | -2/+1 |
| | |||||
* | Improve KafkaClient connect and ready handlingnode_not_ready | Dana Powers | 2016-04-04 | 1 | -26/+19 |
| | | | | | | - merge _initiate and _finish into _maybe_connect - add connected(node_id) method - only short-circuit send() when not connected | ||||
* | Kafka IPv6 Support. | Tim Evens | 2016-03-30 | 1 | -4/+6 |
| | | | | | | 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). | ||||
* | Use socketpair for KafkaClient wake pipe windows compatibility | Dana Powers | 2016-03-17 | 1 | -6/+8 |
| | |||||
* | Check for None returned from least_loaded_node when no brokers are availablenone_least_loaded_node | Dana Powers | 2016-03-13 | 1 | -0/+4 |
| | |||||
* | Merge pull request #557 from dpkp/socket_buffer_size_optional | Dana Powers | 2016-02-18 | 1 | -4/+6 |
|\ | | | | | Dont override system rcvbuf or sndbuf unless user configures explicitly | ||||
| * | Dont override system rcvbuf or sndbuf unless user configures explicitlysocket_buffer_size_optional | Dana Powers | 2016-02-17 | 1 | -4/+6 |
| | | |||||
* | | break up some circular references and close client wake pipe on __del__ | aisch | 2016-02-16 | 1 | -0/+4 |
|/ | |||||
* | bootstrap node should be last resort in least_loaded_node() | Dana Powers | 2016-02-15 | 1 | -0/+7 |
| | |||||
* | KafkaClient.connection_delay should return 0 when connecting to avoid ↵ | Dana Powers | 2016-02-15 | 1 | -4/+10 |
| | | | | unnecessary sleep in poll | ||||
* | Fixup RequestTimeoutError -> RequestTimedOutError | Dana Powers | 2016-02-15 | 1 | -1/+1 |
| | |||||
* | Improve KafkaClient.check_version() | Dana Powers | 2016-02-15 | 1 | -13/+27 |
| | | | | | | | - only raise AssertionErrors if strict=True (default False) - connect timeout is configurable (default 2secs) - monkeypatch request_timeout_ms config and check for RequestTimeoutErrors - add assertion error message | ||||
* | Implement KafkaConsumer.topics() | Dana Powers | 2016-02-01 | 1 | -1/+5 |
| | | | | | - add ClusterMetadata.need_all_topic_metadata attribute - client requests metadata for all topics if attribute True |