Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move callback processing from BrokerConnection to KafkaClientpending_completions | Dana Powers | 2017-10-15 | 1 | -9/+13 |
| | |||||
* | Merge pull request #1213 from ↵ | Taras Voinarovskyi | 2017-09-13 | 1 | -9/+9 |
|\ | | | | | | | | | dpkp/1212-stop-using-mutable-types-for-default-arg-values Stop using mutable types for default arg values | ||||
| * | Stop using mutable types for default arg values1212-stop-using-mutable-types-for-default-arg-values | Jeff Widman | 2017-09-12 | 1 | -9/+9 |
| | | | | | | | | | | | | | | | | Using mutable types for default args is typically a no-no unless their surprising behavior is being explicitly abused, for an explanation see: http://effbot.org/zone/default-values.htm Fix #1212 | ||||
* | | Fix typo | Jeff Widman | 2017-09-12 | 1 | -1/+1 |
|/ | |||||
* | Derive all api classes from Request / Response base classes (#1030) | Dana Powers | 2017-03-14 | 1 | -6/+2 |
| | |||||
* | Add sphinx formatting to hyperlink methods (#898) | Jeff Widman | 2017-03-03 | 1 | -7/+7 |
| | |||||
* | Add send_list_offset_request for searching offset by timestamp (#1001) | charsyam | 2017-03-02 | 1 | -0/+10 |
| | |||||
* | PEP-8: Spacing & removed unused imports (#899) | Jeff Widman | 2017-02-09 | 1 | -13/+12 |
| | |||||
* | Use select to poll sockets for read to reduce CPU usage (#958) | Jianbin Wei | 2017-02-03 | 1 | -0/+10 |
| | |||||
* | Fix typos | Jeff Widman | 2016-11-14 | 1 | -1/+1 |
| | |||||
* | Always absolute_importabsolute_import | Dana Powers | 2016-08-02 | 1 | -0/+2 |
| | |||||
* | Vendor six 1.10.0six | Dana Powers | 2016-08-01 | 1 | -1/+1 |
| | |||||
* | Delete KafkaConnection class (#769) | Dana Powers | 2016-07-17 | 1 | -1/+2 |
| | |||||
* | Add rack to BrokerMetadata - it is always None when using MetadataRequest v0 | Dana Powers | 2016-07-16 | 1 | -3/+3 |
| | |||||
* | Raise ConnectionError immediately on disconnect in SimpleClient._get_conn | Dana Powers | 2016-04-08 | 1 | -1/+8 |
| | |||||
* | Refactor SimpleClient connect logic to support multiple connecting states | Dana Powers | 2016-04-07 | 1 | -11/+26 |
| | |||||
* | Update imports from kafka.common -> kafka.errors / kafka.structs | Dana Powers | 2016-04-05 | 1 | -7/+7 |
| | |||||
* | Kafka IPv6 Support. | Tim Evens | 2016-03-30 | 1 | -8/+15 |
| | | | | | | 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). | ||||
* | catch all errors thrown by _get_leader_for_partition in SimpleClient | Zack Dever | 2016-03-17 | 1 | -1/+2 |
| | |||||
* | Add ignore_leadernotavailable kwarg to SimpleClient.load_metadata_for_topics | Dana Powers | 2016-03-13 | 1 | -9/+13 |
| | |||||
* | Fixup SimpleClient.topic_partitions comment | Dana Powers | 2016-02-15 | 1 | -1/+1 |
| | |||||
* | Add DeprecationWarnings to legacy KafkaClient, Simple/MultiProcess/Consumer, ↵deprecation_warnings | Dana Powers | 2016-01-12 | 1 | -1/+7 |
| | | | | and KafkaConnection | ||||
* | Docstring updates | Dana Powers | 2016-01-07 | 1 | -21/+18 |
| | |||||
* | Rename TopicAndPartition -> TopicPartition | Dana Powers | 2015-12-28 | 1 | -4/+4 |
| | |||||
* | Switch BrokerConnection to (mostly) non-blocking IO. | Dana Powers | 2015-12-17 | 1 | -37/+53 |
| | | | | | | - return kafka.Future on send() - recv is now non-blocking call that completes futures when possible - update KafkaClient to block on future completion | ||||
* | new 0.9 error codes plus descriptions. | Zack Dever | 2015-12-15 | 1 | -2/+2 |
| | | | | | reference: https://cwiki.apache.org/confluence/display/KAFKA/A+Guide+To+The+Kafka+Protocol#AGuideToTheKafkaProtocol-ErrorCodes | ||||
* | Only log topic names (and broker metadata) in KafkaClient load_metadata ↵ | Dana Powers | 2015-12-10 | 1 | -1/+1 |
| | | | | debug logging | ||||
* | Move Request / Response logging from KafkaClient to BrokerConnection | Dana Powers | 2015-12-10 | 1 | -2/+0 |
| | | | | and reenable kafka.conn debug logging in tests | ||||
* | Drop kafka_bytestring | Dana Powers | 2015-12-10 | 1 | -5/+2 |
| | |||||
* | Refactor KafkaClient to use BrokerConnections and new Request/Response structs | Dana Powers | 2015-12-09 | 1 | -148/+131 |
| | |||||
* | Revert broken send_produce_request try/except from PR 467 (resps=None) | Dana Powers | 2015-12-05 | 1 | -5/+1 |
| | |||||
* | Fix requestId handling in send_broker_aware_request | Dana Powers | 2015-12-04 | 1 | -2/+2 |
| | |||||
* | Merge pull request #420 from toddpalino/master | Dana Powers | 2015-12-02 | 1 | -0/+128 |
|\ | | | | | Initial support for consumer coordinator | ||||
| * | Support consumer metadata requests | tpalino | 2015-07-01 | 1 | -0/+128 |
| | | | | | | | | | | | | Support added for ConsumerMetadataRequest and ConsumerMetadataResponse Added consumer-aware request routine for supporting the consumer coordinator Added separate client method for fetching Kafka-committed offsets from the coordinator | ||||
* | | Merge pull request #473 from ecanzonieri/use_unblocking_io_for_aware_requests | Dana Powers | 2015-12-02 | 1 | -18/+30 |
|\ \ | | | | | | | Use unblocking io for broker aware requests | ||||
| * | | Add tests. Bug fix. Rename socket_conn dict. | Enrico Canzonieri | 2015-11-10 | 1 | -7/+7 |
| | | | |||||
| * | | Unblocking broker aware request | Enrico Canzonieri | 2015-11-10 | 1 | -18/+30 |
| | | | |||||
* | | | Prevents crashing communication thread of async producer | Balthasar Schopman | 2015-10-22 | 1 | -1/+5 |
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | If an uncaught exception occurs in _send_messages() the thread sending data to Kafka (asynchronously) will crash and the queue will never be emptied. To reproduce: 1) Run an Async producer. 2) Kill the Kafka server. 3) Restart the Kafka server. The communication thread dies shortly after step 2. After step 3 the communication does not resume without this commit. The changes in both files prevent an Exception from being thrown through to do main communication process, which could cause the crash. | ||||
* | | Merge pull request #436 from mutability/async-catch-unavailable-error | Dana Powers | 2015-10-07 | 1 | -6/+11 |
|\ \ | | | | | | | Catch KafkaUnavailableError in _send_broker_aware_request | ||||
| * | | Init responses before we use it. | Oliver Jowett | 2015-07-24 | 1 | -1/+1 |
| | | | |||||
| * | | Errors -> Error typo | Oliver Jowett | 2015-07-20 | 1 | -1/+1 |
| | | | |||||
| * | | Treat KafkaUnavailableError like other errors. | Oliver Jowett | 2015-07-19 | 1 | -5/+10 |
| |/ | |||||
* | | Use debug logging level for metadata request | Enrico Canzonieri | 2015-07-21 | 1 | -2/+2 |
|/ | |||||
* | Lower logging level on replica not available and commit | Enrico Canzonieri | 2015-06-19 | 1 | -1/+1 |
| | |||||
* | Add KafkaClient.topics property to get list of known topics | Dana Powers | 2015-06-11 | 1 | -0/+4 |
| | |||||
* | Fix KafkaClient request / response ordering | Dana Powers | 2015-06-10 | 1 | -10/+20 |
| | |||||
* | KafkaClient log new broker and topic metadata received as INFO | Dana Powers | 2015-06-09 | 1 | -2/+2 |
| | |||||
* | KafkaClient: log responses by requestId for debugging | Dana Powers | 2015-06-09 | 1 | -1/+4 |
| | |||||
* | KafkaClient: log requestId on ConnectionError instead of hexdump of request ↵ | Dana Powers | 2015-06-09 | 1 | -6/+5 |
| | | | | contents | ||||
* | Improve kafka client debug request/response logging | Dana Powers | 2015-06-08 | 1 | -5/+5 |
| |