Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove deprecated `ConnectionError`Remove-deprecated-ConnectionError | Jeff Widman | 2019-05-24 | 1 | -4/+0 |
| | | | | | | | This has been deprecated for a bit in favor of `KafkaConnectionError` because it conflicts with Python's built-in `ConnectionError`. Time to remove it as part of cleaning up our old deprecated code. | ||||
* | Make NotEnoughReplicasError/NotEnoughReplicasAfterAppendError retriable (#1722) | le-linh | 2019-03-03 | 1 | -0/+2 |
| | |||||
* | Stop using broker-errors for client-side problems | Jeff Widman | 2018-11-18 | 1 | -0/+4 |
| | | | | | | | | | | | | | `UnsupportedVersionError` is intended to indicate a server-side error: https://github.com/dpkp/kafka-python/blob/ba7372e44ffa1ee49fb4d5efbd67534393e944db/kafka/errors.py#L375-L378 So we should not be raising it for client-side errors. I realize that semantically this seems like the appropriate error to raise. However, this is confusing when debugging... for a real-life example, see https://github.com/Parsely/pykafka/issues/697. So I strongly feel that server-side errors should be kept separate from client-side errors, even if all the client is doing is proactively protecting against hitting a situation where the broker would return this error. | ||||
* | Remove ConsumerTimeout | Jonathan Emord | 2018-09-27 | 1 | -4/+0 |
| | |||||
* | Retain but deprecate kafka.errors.ConnectionError for compatibility | Dana Powers | 2018-05-26 | 1 | -0/+4 |
| | |||||
* | Ignore MetadataResponses with empty broker list (#1506) | Dana Powers | 2018-05-26 | 1 | -0/+4 |
| | |||||
* | Stop shadowing `ConnectionError` | Jeff Widman | 2018-05-23 | 1 | -3/+3 |
| | | | | | | | | | | In Python3, `ConnectionError` is a native exception. So rename our custom one to `KafkaConnectionError` to prevent accidentally shadowing the native one. Note that there are still valid uses of `ConnectionError` in this code. They already expect a native Python3 `ConnectionError`, and also already handle the Python2 compatibility issues. | ||||
* | KAFKA-3888 Use background thread to process consumer heartbeats (#1266) | Dana Powers | 2017-12-21 | 1 | -1/+12 |
| | |||||
* | Refactor MessageSet and Message into LegacyRecordBatch to later support v2 ↵ | Taras | 2017-10-11 | 1 | -2/+5 |
| | | | | message format | ||||
* | Add kafka.protocol.parser.KafkaProtocol w/ receive and send (#1230) | Dana Powers | 2017-10-10 | 1 | -1/+5 |
| | |||||
* | Make UnknownTopicOrPartitionError retriable errorissue1155 | Taras Voinarovskiy | 2017-07-30 | 1 | -0/+1 |
| | |||||
* | Add new broker response errors | Dana Powers | 2017-03-04 | 1 | -0/+65 |
| | |||||
* | Small style fixes in kafka.errors | Dana Powers | 2017-03-04 | 1 | -4/+5 |
| | |||||
* | Args are optional in BrokerResponseError str (#889) | Dana Powers | 2016-11-18 | 1 | -3/+3 |
| | |||||
* | implement sasl PLAIN mechanism | Lars Jørgen Solberg | 2016-08-03 | 1 | -0/+20 |
| | |||||
* | Always absolute_importabsolute_import | Dana Powers | 2016-08-02 | 1 | -0/+2 |
| | |||||
* | Explicit format string argument indices for python 2.6 compatibility | Dana Powers | 2016-07-17 | 1 | -2/+2 |
| | |||||
* | Cleanup error logging (#760 / #759) | Dana Powers | 2016-07-15 | 1 | -1/+11 |
| | | | | | | - add error type to all KafkaErrors - add args to BrokerResponseError - drop description from BrokerResponseError - fix bug logging errbacks as callbacks | ||||
* | tweak spelling mistake (#719) | steve8918 | 2016-06-17 | 1 | -1/+1 |
| | |||||
* | Use standard LZ4 framing for v1 messages / kafka 0.10 (#695) | Dana Powers | 2016-05-22 | 1 | -2/+2 |
| | | | | | | * LZ4 framing fixed in 0.10 / message v1 -- retain broken lz4 code for compatibility * lz4f does not support easy incremental decompression - raise RuntimeError * Update lz4 codec tests | ||||
* | Use Fetch/Produce API v2 for brokers >= 0.10 (uses message format v1) (#694) | Dana Powers | 2016-05-22 | 1 | -0/+6 |
| | |||||
* | Kafka metrics java port. No reporters or instrumentation. | Zack Dever | 2016-04-13 | 1 | -0/+4 |
| | | | | | There is no straight translation for the JMX reporter into python, so I'll do something else in a separate commit. | ||||
* | KAFKA-3318: clean up consumer logging and error messages | Dana Powers | 2016-04-05 | 1 | -0/+4 |
| | |||||
* | Split kafka.common into kafka.structs and kafka.errors | Dana Powers | 2016-04-05 | 1 | -0/+399 |