Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Make external API consistently support python3 strings for topic. | Space | 2015-04-03 | 6 | -45/+52 | |
| | ||||||
* | Merge pull request #356 from dpkp/always_fetch_offsets | Dana Powers | 2015-03-30 | 2 | -2/+75 | |
|\ | | | | | fetch commit offsets in base consumer unless group is None | |||||
| * | Fetch previously committed offsets in base consumer class so long as | Dana Powers | 2015-03-30 | 2 | -2/+5 | |
| | | | | | | | | | | | | | | | | a group is configured (but document that group must be None for old servers). This fixes multiprocessor consumer issue that prevented access to commit offsets if auto_commit is disabled. Also refactor fetch_last_known_offsets based on KafkaConsumer While still setting unknown offsets to 0 | |||||
| * | Skip these tests: no OffsetCommitRequest for 0.8.0 | Viktor Shlapakov | 2015-03-30 | 1 | -2/+2 | |
| | | ||||||
| * | Added basic tests for load_initial_offsets option | Viktor Shlapakov | 2015-03-30 | 1 | -0/+35 | |
| | | ||||||
| * | Add test case for MP Consumer auto commit | Ali-Akber Saifee | 2015-03-30 | 1 | -0/+35 | |
| | | | | | | | | Tweak MP Consumer test to use iterator | |||||
* | | Merge pull request #355 from dpkp/correlation_id_modulo | Dana Powers | 2015-03-30 | 1 | -0/+8 | |
|\ \ | |/ |/| | correlation_id modulo | |||||
| * | Add test for correlation_id rollover | Dana Powers | 2015-03-29 | 1 | -0/+8 | |
| | | ||||||
* | | Use bootstrap_servers interface in tests | Dana Powers | 2015-03-29 | 1 | -1/+1 | |
|/ | ||||||
* | Merge pull request #336 from scrapinghub/feature-mp-consumer-params | Dana Powers | 2015-03-29 | 1 | -2/+3 | |
|\ | | | | | Using additional params for MP consumer child process | |||||
| * | Moving to **kwargs for MPConsumer options | Viktor Shlapakov | 2015-03-24 | 1 | -5/+3 | |
| | | ||||||
| * | Using iter_timeout=0 for MP inner consumer in tests | Viktor Shlapakov | 2015-03-13 | 1 | -1/+4 | |
| | | ||||||
* | | Merge pull request #329 from vshlapakov/feature-batch-msg-keys | Dana Powers | 2015-03-29 | 2 | -11/+71 | |
|\ \ | |/ |/| | Correct message keys for async batching mode | |||||
| * | Correct message keys for async batching mode | Viktor Shlapakov | 2015-02-25 | 2 | -11/+71 | |
| | | ||||||
* | | Merge branch 'vshlapakov-feature-async-threading' | Dana Powers | 2015-03-08 | 1 | -0/+44 | |
|\ \ | | | | | | | | | | | | | | | | | | | PR 330: Threading for async batching Conflicts: kafka/producer/base.py | |||||
| * | | Returned original tests, rm dirty flag, name fixes | Viktor Shlapakov | 2015-02-25 | 1 | -0/+44 | |
| | | | ||||||
* | | | Merge pull request #296 from ecanzonieri/validate_consumer_offset | Dana Powers | 2015-03-02 | 1 | -1/+43 | |
|\ \ \ | |_|/ |/| | | Validate consumer offset in SimpleConsumer | |||||
| * | | Retry failed partitions and add integration tests | Enrico Canzonieri | 2015-01-26 | 1 | -1/+43 | |
| | | | ||||||
* | | | Reorganize producer integration tests; protect against non-sorted partition ↵ | Dana Powers | 2015-02-09 | 1 | -121/+160 | |
| | | | | | | | | | | | | metadata | |||||
* | | | Use a different topic for each producer integration test for isolation | Dana Powers | 2015-02-09 | 1 | -1/+0 | |
| | | | ||||||
* | | | Add more comments to test_switch_leader regarding req_acks policy | Dana Powers | 2015-02-09 | 1 | -3/+10 | |
| | | | ||||||
* | | | Write a test for issue 313 - keyed producer failover | Dana Powers | 2015-02-09 | 1 | -0/+40 | |
| | | | ||||||
* | | | use setUp / tearDown to rebuild fixtures for each test in ↵ | Dana Powers | 2015-02-09 | 1 | -12/+12 | |
| |/ |/| | | | | | test_failover_integration | |||||
* | | 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 |