Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | Add error 104 / Connection reset by peer to expected check_version errors | Dana Powers | 2016-01-25 | 1 | -2/+2 |
| | |||||
* | Small KafkaClient.check_version() improvements | Dana Powers | 2016-01-25 | 1 | -3/+20 |
| | | | | | - filter connection failure logging during version check - raise UnrecognizedBrokerVersion if we cant id broker | ||||
* | Log new KafkaClient under kafka.client until files are merged | Dana Powers | 2016-01-25 | 1 | -1/+1 |
| | |||||
* | Write bytes to wake_fd | Dana Powers | 2016-01-24 | 1 | -1/+1 |
| | |||||
* | KafkaClient.add_topic() -- for use by async producer | Dana Powers | 2016-01-23 | 1 | -0/+15 |
| | |||||
* | Optionally sleep in KafkaClient.poll(), add KafkaClient.wakeup() | Dana Powers | 2016-01-23 | 1 | -7/+37 |
| | |||||
* | Add back connection_delay method to KafkaClient - used by KafkaProducer | Dana Powers | 2016-01-18 | 1 | -0/+20 |
| | | | | This reverts commit 88cf1b5e4551cd96322aa812fa482bf0f978060a. | ||||
* | Remove sleep call in client.poll -- expect callers to manage this and log ↵ | Dana Powers | 2016-01-12 | 1 | -6/+5 |
| | | | | warning | ||||
* | Receive all available responses in client._poll | Dana Powers | 2016-01-10 | 1 | -3/+4 |
| | |||||
* | If a completed future is polled, do not block | Dana Powers | 2016-01-10 | 1 | -6/+13 |
| | |||||
* | Avoid CPU spinnning when there are no sockets to read | Dana Powers | 2016-01-10 | 1 | -0/+8 |
| | |||||
* | Fix delayed_task timeout commit 45d26b6 | Dana Powers | 2016-01-10 | 1 | -5/+6 |
| | |||||
* | Check delayed task timeout in client.poll() | Dana Powers | 2016-01-10 | 1 | -2/+4 |
| | |||||
* | Refresh metadata on failed connection attemptshandle_disconnect | Dana Powers | 2016-01-09 | 1 | -0/+5 |
| | |||||
* | Add metadata_max_age_ms and retry_backoff_ms options to async client | Dana Powers | 2016-01-07 | 1 | -0/+8 |
| | |||||
* | Fix future redefine bug in client.poll | Dana Powers | 2016-01-04 | 1 | -3/+3 |
| | |||||
* | Catch py3 ConnectionErrors | Dana Powers | 2016-01-03 | 1 | -3/+9 |
| | |||||
* | Add KafkaClient.check_version() to guess broker version | Dana Powers | 2016-01-03 | 1 | -0/+52 |
| | |||||
* | Fix bug in _initiate_connect preventing reconnect to 'bootstrap' | Dana Powers | 2016-01-03 | 1 | -3/+3 |
| | |||||
* | sys.maxint not supported in python3 | Dana Powers | 2016-01-01 | 1 | -4/+3 |
| | |||||
* | Prefer assert or more-specific error to IllegalState / IllegalArgument | Dana Powers | 2015-12-30 | 1 | -7/+7 |
| | |||||
* | More Docstring Improvements | Dana Powers | 2015-12-30 | 1 | -60/+131 |
| | |||||
* | Fix blacked_out typo in least_loaded_node | Dana Powers | 2015-12-30 | 1 | -1/+1 |
| | |||||
* | Rename KafkaClient.connection_failed -> is_disconnected | Dana Powers | 2015-12-30 | 1 | -1/+1 |
| | |||||
* | Improve removed tasks handing in DelayedTaskQueue.pop_ready | Dana Powers | 2015-12-30 | 1 | -2/+5 |
| | |||||
* | Remove unnecessary calls in KafkaClient._poll | Dana Powers | 2015-12-30 | 1 | -13/+13 |
| | | | | | - Dont process connections; outer poll() loop does this now - Only recv connections that select says are readable | ||||
* | Resolve delayed task futures in KafkaClient.poll | Dana Powers | 2015-12-30 | 1 | -3/+6 |
| |