Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add some simple message protocol testsmessage_format_v1 | Dana Powers | 2016-05-22 | 1 | -0/+146 |
| | |||||
* | Rename legacy protocol tests | Dana Powers | 2016-05-22 | 1 | -848/+0 |
| | |||||
* | Update imports from kafka.common -> kafka.errors / kafka.structs | Dana Powers | 2016-04-05 | 1 | -10/+10 |
| | |||||
* | Mark old kafka.common structs as Deprecated; remove unused TopicMetadata | Dana Powers | 2016-02-15 | 1 | -5/+8 |
| | |||||
* | Rename TopicAndPartition -> TopicPartition | Dana Powers | 2015-12-28 | 1 | -1/+1 |
| | |||||
* | pylint fixes | Dana Powers | 2015-12-10 | 1 | -0/+1 |
| | | | | | | - temporarily ignore kafka/consumer/group.py - temporarily ignore test/test_protocol.py - disable-msg deprecated; use disable= instead | ||||
* | Remove KafkaProtocol._decode_message | Dana Powers | 2015-12-10 | 1 | -0/+2 |
| | |||||
* | Convert OffsetCommit and OffsetFetch protocol encode/decode | Dana Powers | 2015-12-10 | 1 | -2/+2 |
| | |||||
* | Update kafka.common imports to Payloads namedtuples in test_protocol | Dana Powers | 2015-12-09 | 1 | -22/+24 |
| | |||||
* | Skip protocol tests for now -- need updating | Dana Powers | 2015-12-09 | 1 | -0/+20 |
| | |||||
* | Fix tests broken by legacy module move | Dana Powers | 2015-12-04 | 1 | -3/+3 |
| | |||||
* | Fix misnamed node to nodeId in test | tpalino | 2015-07-02 | 1 | -1/+1 |
| | |||||
* | Add missing import for ConsumerMetadataResponse | tpalino | 2015-07-01 | 1 | -1/+1 |
| | |||||
* | Support consumer metadata requests | tpalino | 2015-07-01 | 1 | -0/+28 |
| | | | | | | 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 | ||||
* | Correct message keys for async batching mode | Viktor Shlapakov | 2015-02-25 | 1 | -3/+63 |
| | |||||
* | Use b''.join([]) instead of += to speedup code | Dana Powers | 2014-09-10 | 1 | -18/+18 |
| | |||||
* | Merge pull request #223 from dpkp/metadata_refactor | Dana Powers | 2014-09-08 | 1 | -40/+33 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Metadata Refactor * add MetadataRequest and MetadataResponse namedtuples * add TopicMetadata namedtuple * add error codes to Topic and Partition Metadata * add KafkaClient.send_metadata_request() method * KafkaProtocol.decode_metadata_response changed to return a MetadataResponse object so that it is consistent with server api: [broker_list, topic_list] * raise server exceptions in load_metadata_for_topics(*topics) unless topics is null (full refresh) * Replace non-standard exceptions (LeaderUnavailable, PartitionUnavailable) with server standard exceptions (LeaderNotAvailableError, UnknownTopicOrPartitionError) Conflicts: kafka/client.py test/test_client.py test/test_producer_integration.py test/test_protocol.py | ||||
| * | Use standard exceptions in client._get_leader_for_partition() | Dana Powers | 2014-09-01 | 1 | -2/+2 |
| | | | | | | | | | | | | - drop custom PartitionUnavailable exception - raise UnknownTopicOrPartitionError or LeaderNotAvailableError - add tests for exception raises | ||||
| * | Improve metadata protocol handling | Dana Powers | 2014-09-01 | 1 | -41/+33 |
| | | | | | | | | | | | | | | | | | | | | - add MetadataRequest and MetadataResponse namedtuples - add TopicMetadata namedtuple - add error codes to Topic and Partition Metadata - add KafkaClient.send_metadata_request() method - KafkaProtocol.decode_metadata_response changed to return a MetadataResponse object so that it is consistent with server api: [broker_list, topic_list] | ||||
* | | Merge pull request #227 from wizzat-feature/py3 | Dana Powers | 2014-09-07 | 1 | -184/+185 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | -1/+0 |
| | | | |||||
| * | | Make all unit tests pass on py3.3/3.4 | Bruno Renié | 2014-09-03 | 1 | -178/+179 |
| | | | |||||
| * | | Use base unittest or unittest2 depending on python version | Bruno Renié | 2014-09-03 | 1 | -4/+4 |
| |/ | |||||
* | | Cleanup tests: no more import *; remove unused | Dana Powers | 2014-09-04 | 1 | -7/+2 |
| | | |||||
* | | Import cleanups in tests | Dana Powers | 2014-09-04 | 1 | -9/+7 |
|/ | |||||
* | Improve error handling and tests w.r.t. codecs | Patrick Lucas | 2014-05-07 | 1 | -6/+58 |
| | | | | | | | | | | Add function kafka.protocol.create_message_set() that takes a list of payloads and a codec and returns a message set with the desired encoding. Introduce kafka.common.UnsupportedCodecError, raised if an unknown codec is specified. Include a test for the new function. | ||||
* | Merge branch 'teach_producers_about_compression' into producer_compression | Mark Roberts | 2014-05-07 | 1 | -5/+4 |
| | | | | | | Conflicts: servers/0.8.0/kafka-src test/test_unit.py | ||||
* | Fix Python 2.6 support | Mark Roberts | 2014-04-23 | 1 | -10/+10 |
| | |||||
* | Split out kafka version environments, default tox no longer runs any ↵ | Mark Roberts | 2014-04-23 | 1 | -3/+1 |
| | | | | integration tests, make skipped integration also skip setupClass, implement rudimentary offset support in consumer.py | ||||
* | Add final tests for 100% coverage of protocol.py from test/test_protocol.py | Mark Roberts | 2014-04-09 | 1 | -6/+63 |
| | |||||
* | Add encode_offset_fetch_request test | Mark Roberts | 2014-04-09 | 1 | -9/+40 |
| | |||||
* | Add commit offset request test | Mark Roberts | 2014-04-09 | 1 | -26/+47 |
| | |||||
* | Add tests for encode_offset_request | Mark Roberts | 2014-04-09 | 1 | -3/+43 |
| | |||||
* | Add python-snappy to tox dependencies. Fix snappy protocol test | Mark Roberts | 2014-04-09 | 1 | -27/+36 |
| | |||||
* | Convert test_encode_fetch_request to struct.pack format, improve test ↵ | Mark Roberts | 2014-04-09 | 1 | -12/+45 |
| | | | | reliability | ||||
* | Update more tests, fix intermittent failure | Mark Roberts | 2014-04-09 | 1 | -40/+89 |
| | |||||
* | Convert more tests to struct.pack | Mark Roberts | 2014-04-08 | 1 | -29/+75 |
| | |||||
* | Convert serveral tests to struct.pack | Mark Roberts | 2014-04-08 | 1 | -81/+93 |
| | |||||
* | Reinstate test_integrate, make test_protocol more explicit, create testutil | Mark Roberts | 2014-04-08 | 1 | -5/+28 |
| | |||||
* | Explicit testing of protocol errors. Make tests more explicit, and start ↵ | Mark Roberts | 2014-04-08 | 1 | -13/+34 |
| | | | | working on intermittent failures in test_encode_fetch_request and test_encode_produc_request | ||||
* | Split test files, modify test_protocol | Mark Roberts | 2014-04-08 | 1 | -0/+354 |