Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Just encode to bytes if it isn't bytes. | John Anderson | 2015-01-24 | 1 | -6/+10 |
| | |||||
* | Alert if the topic is not sent as bytes | John Anderson | 2015-01-23 | 1 | -0/+11 |
| | |||||
* | Add 0.8.2.0 to some kafka_version tests | Dana Powers | 2015-01-14 | 2 | -3/+3 |
| | |||||
* | Change ZookeeperFixture wait_for regex to support newer zk version used with ↵ | Dana Powers | 2015-01-14 | 1 | -1/+1 |
| | | | | 0.8.2.0 | ||||
* | Fix KafkaFixture child stdout / stderr capture | Dana Powers | 2015-01-14 | 1 | -2/+2 |
| | |||||
* | Merge pull request #289 from alexcb/broker-error-class-refactoring | Dana Powers | 2015-01-12 | 1 | -3/+2 |
|\ | | | | | Use reflection to avoid multiple errno definitions | ||||
| * | Use reflection to avoid multiple errno definitions | Alex Couture-Beil | 2015-01-10 | 1 | -3/+2 |
| | | |||||
* | | Updated unittests to explicitly set random_start value | Alex Couture-Beil | 2015-01-09 | 1 | -15/+21 |
|/ | |||||
* | Make TIMEOUT_MS configurable in test_kafka_consumer__blocking | Dana Powers | 2014-12-15 | 1 | -4/+5 |
| | |||||
* | Merge conflict w/ assertEqual (assertEquals deprecated) | Dana Powers | 2014-12-15 | 7 | -50/+52 |
| | |||||
* | Fix task_done checks when no previous commit exists; add test | Dana Powers | 2014-12-15 | 1 | -0/+43 |
| | |||||
* | Move KafkaConsumer to kafka.consumer.kafka module; make available for import ↵ | Dana Powers | 2014-12-15 | 2 | -4/+2 |
| | | | | from kafka at top-level | ||||
* | Add a few basic KafkaConsumer tests | Dana Powers | 2014-12-15 | 2 | -13/+83 |
| | |||||
* | fix pending method | Nickolai Novik | 2014-12-15 | 1 | -2/+14 |
| | |||||
* | Fixed TestKafkaProducerIntegration | Lou Marvin Caraig | 2014-11-26 | 2 | -17/+29 |
| | |||||
* | Merge pull request #233 from dpkp/str_join_speedup | Mark Roberts | 2014-09-11 | 2 | -18/+20 |
|\ | | | | | Improve string concatenation performance on pypy and python 3 | ||||
| * | Use b''.join([]) instead of += to speedup code | Dana Powers | 2014-09-10 | 2 | -18/+20 |
| | | |||||
* | | Merge pull request #232 from dpkp/directory_layout | Dana Powers | 2014-09-10 | 3 | -3/+3 |
|\ \ | |/ |/| | Separate Consumer/Producer/Partitioner modules | ||||
| * | Separate consumers/producers/partitioners | Dana Powers | 2014-09-10 | 3 | -3/+3 |
| | | |||||
* | | Fixup test_context.py unittest import | Dana Powers | 2014-09-10 | 1 | -2/+2 |
| | | |||||
* | | Merge pull request #217 from locationlabs/transaction | Dana Powers | 2014-09-10 | 1 | -0/+117 |
|\ \ | |/ |/| | Commit/rollback consumer offsets via context manager | ||||
| * | Rename KafkaTransaction to OffsetCommitContext for clarity. | Jesse Myers | 2014-09-03 | 1 | -20/+20 |
| | | |||||
| * | Add transaction context manager. | Jesse Myers | 2014-08-30 | 1 | -0/+117 |
| | | |||||
* | | Merge pull request #223 from dpkp/metadata_refactor | Dana Powers | 2014-09-08 | 3 | -121/+255 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | | Add client unit tests for has_metadata_for_topic and ensure_topic_exists | Dana Powers | 2014-09-01 | 1 | -1/+63 |
| | | | |||||
| * | | Add test for sending produce request to unknown topic w/o auto-creation | Dana Powers | 2014-09-01 | 1 | -0/+25 |
| | | | |||||
| * | | Use standard exceptions in client._get_leader_for_partition() | Dana Powers | 2014-09-01 | 3 | -18/+20 |
| | | | | | | | | | | | | | | | | | | - drop custom PartitionUnavailable exception - raise UnknownTopicOrPartitionError or LeaderNotAvailableError - add tests for exception raises | ||||
| * | | load_metadata_for_topics should raise exceptions on explicit topic args | Dana Powers | 2014-09-01 | 1 | -25/+46 |
| | | | |||||
| * | | Refactor internal metadata dicts in KafkaClient | Dana Powers | 2014-09-01 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | - use helper methods not direct access - add get_partition_ids_for_topic - check for topic and partition errors during load_metadata_for_topics - raise LeaderNotAvailableError when topic is being auto-created or UnknownTopicOrPartitionError if auto-creation off | ||||
| * | | No more custom LeaderUnavailableError exception -- raise LeaderNotAvailableError | Dana Powers | 2014-09-01 | 2 | -4/+3 |
| | | | |||||
| * | | Improve metadata protocol handling | Dana Powers | 2014-09-01 | 2 | -109/+123 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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 | 16 | -299/+334 |
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 the multiprocessing tests for python 3 | Mark Roberts | 2014-09-03 | 1 | -1/+1 |
| | | | | |||||
| * | | | Fix test errors related to mocks | Mark Roberts | 2014-09-03 | 1 | -3/+6 |
| | | | | |||||
| * | | | Fix more tests, only multiprocessing consumer ones remaining | Bruno Renié | 2014-09-03 | 6 | -20/+32 |
| | | | | |||||
| * | | | Bytes in self.msg() | Bruno Renié | 2014-09-03 | 1 | -1/+1 |
| | | | | |||||
| * | | | More bytes topics | Bruno Renié | 2014-09-03 | 2 | -2/+2 |
| | | | | |||||
| * | | | Encode topic directly | Bruno Renié | 2014-09-03 | 1 | -1/+2 |
| | | | | |||||
| * | | | Fix bytes interpolation | Bruno Renié | 2014-09-03 | 1 | -1/+1 |
| | | | | |||||
| * | | | Topic in bytes | Bruno Renié | 2014-09-03 | 1 | -1/+1 |
| | | | | |||||
| * | | | Fix stderr capture | Bruno Renié | 2014-09-03 | 1 | -1/+1 |
| | | | | |||||
| * | | | Fix log capture on py3 | Bruno Renié | 2014-09-03 | 1 | -1/+1 |
| | | | | |||||
| * | | | Make all unit tests pass on py3.3/3.4 | Bruno Renié | 2014-09-03 | 11 | -241/+257 |
| | | | | |||||
| * | | | Use base unittest or unittest2 depending on python version | Bruno Renié | 2014-09-03 | 12 | -29/+37 |
| |/ / | |||||
* | | | Cleanup tests: no more import *; remove unused | Dana Powers | 2014-09-04 | 9 | -54/+26 |
| | | | |||||
* | | | Another attempt to fix failover test flapping | Dana Powers | 2014-09-04 | 1 | -16/+23 |
| | | | |||||
* | | | Import cleanups in tests | Dana Powers | 2014-09-04 | 6 | -24/+38 |
| | | | |||||
* | | | Merge pull request #222 from dpkp/fix_socket_timeout_test | Mark Roberts | 2014-09-04 | 2 | -12/+19 |
|\ \ \ | |/ / |/| | | Fix socket timeout test -- mock the side_effect | ||||
| * | | Fix socket timeout test -- mock the side_effect | Dana Powers | 2014-09-01 | 2 | -12/+19 |
| |/ | |||||
* | | just fixing a silly except formatting mistake | Zack Dever | 2014-08-29 | 1 | -1/+1 |
|/ |