summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add DeprecationWarnings to legacy KafkaClient, Simple/MultiProcess/Consumer, ↵deprecation_warningsDana Powers2016-01-128-14/+51
| | | | and KafkaConnection
* Add mocking to test_coordinator::test_close to fix random test failure (via ↵Dana Powers2016-01-111-0/+1
| | | | travis logs)
* Merge pull request #496 from dpkp/idle_sleepDana Powers2016-01-102-11/+30
|\ | | | | Prevent idle CPU spin by sleeping if there are no sockets to read
| * Pass consumer timeout to client.poll() in iterator; check timeout before ↵idle_sleepDana Powers2016-01-101-1/+4
| | | | | | | | iterating fetcher
| * Fix sec / millisec unit bug in KafkaConsumer._poll_once()Dana Powers2016-01-101-1/+1
| |
| * Receive all available responses in client._pollDana Powers2016-01-101-3/+4
| |
| * If a completed future is polled, do not blockDana Powers2016-01-101-6/+13
| |
| * Avoid CPU spinnning when there are no sockets to readDana Powers2016-01-101-0/+8
|/
* Fix delayed_task timeout commit 45d26b6Dana Powers2016-01-103-9/+10
|
* Merge pull request #502 from dpkp/task_poll_timeoutDana Powers2016-01-104-15/+47
|\ | | | | Add delayed task timeouts to _poll calls
| * Improve KafkaConsumer iterator loop timeoutstask_poll_timeoutDana Powers2016-01-101-8/+8
| | | | | | | | | | | | - Consider all delayed tasks, not just heartbeat - Include metadata update timeout - Fix second / millisecond bug calling client.poll()
| * Improve cluster.ttl() readabilityDana Powers2016-01-101-3/+7
| |
| * Check delayed task timeout in client.poll()Dana Powers2016-01-102-4/+32
| |
* | Log generation and member_id in threaded consumer group testDana Powers2016-01-101-1/+4
| |
* | Fix debug logging call in PR 500Dana Powers2016-01-101-1/+1
|/
* Remove old kafka.consumer.kafka moduleDana Powers2016-01-101-771/+0
|
* Merge pull request #500 from dpkp/kafka-2978Dana Powers2016-01-104-74/+53
|\ | | | | KAFKA-2978: consumer stops fetching when positions get out of sync
| * KAFKA-2978: consumer stops fetching when consumed and fetch positions get ↵Dana Powers2016-01-104-74/+53
|/ | | | out of sync
* Merge pull request #501 from dpkp/coordinator_testsDana Powers2016-01-104-13/+607
|\ | | | | ConsumerCoordinator cleanups and test coverage
| * Add ConsumerCoordinator unit testsDana Powers2016-01-101-0/+568
| |
| * ConsumerCoordinator cleanupsDana Powers2016-01-102-13/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - default assignors to RoundRobinPartitionAssignor - check offsets types in commit_offsets_* methods - succeed future in _send_offset_commit_request when no offsets - raise exception if no subscribed topics in group_protocols() - fix _subscription typo in metadata listener callbacks - short circuit if no partitions passed to fetch_committed_offsets - line-wrap comments - return future from commit_offsets_async - return future value from commit_offsets_sync - fix self._failed_request callback partial args - comment out metrics class for now
| * Add error checking to mark_for_reassignmentDana Powers2016-01-101-0/+3
| |
* | Merge pull request #499 from dpkp/handle_disconnectDana Powers2016-01-102-18/+170
|\ \ | |/ |/| Refresh metadata on failed connection attempts
| * Refresh metadata on failed connection attemptshandle_disconnectDana Powers2016-01-091-0/+5
| |
| * Fill out more async client unit testsDana Powers2016-01-091-18/+165
| |
* | Move ConsumerProtocol definition to kafka.coordinator.protocolDana Powers2016-01-103-35/+44
|/
* Remove errant kafka_versions('all') from 0.9 mergeDana Powers2016-01-071-1/+0
|
* Update README from new docsDana Powers2016-01-071-42/+55
|
* Merge branch '0.9'Dana Powers2016-01-0783-1621/+7487
|\ | | | | | | | | | | | | | | Conflicts: kafka/codec.py kafka/version.py test/test_producer.py test/test_producer_integration.py
| * Fix KafkaClient->SimpleClient references0.9Dana Powers2016-01-079-49/+49
| |
| * Update docs for release w/ new async classesDana Powers2016-01-0714-238/+283
| |
| * Drop sphinxcontrib-napoleon in favor of sphinx.ext.napoleanDana Powers2016-01-072-2/+1
| |
| * Add metadata_max_age_ms and retry_backoff_ms options to async clientDana Powers2016-01-071-0/+8
| |
| * Docstring updatesDana Powers2016-01-075-182/+209
| |
| * Reorg kafka importsDana Powers2016-01-071-11/+12
| | | | | | | | | | | | | | - kafka.KafkaClient is new async client - kafka.SimpleClient is old sync client - update copyright / author info - add BrokerConnection; drop KafkaConnection
| * Reduce partitions for offset commit topic in 0.9 broker configsDana Powers2016-01-041-0/+9
| |
| * Drop request_timeout_ms override in consumer group testDana Powers2016-01-041-2/+1
| |
| * Dont use consumer_timeout_ms in simple kafka_consumer testDana Powers2016-01-041-2/+1
| |
| * Fix future redefine bug in client.pollDana Powers2016-01-042-3/+4
| |
| * Call errbacks with future.exceptionDana Powers2016-01-031-1/+1
| |
| * Dont pylint in pypy tests - it seems to take forever and doesn't add anythingDana Powers2016-01-031-0/+4
| |
| * Dont use consumer_timeout_ms in kafka blocking testDana Powers2016-01-031-7/+4
| |
| * Fast heartbeats during consumer group testsDana Powers2016-01-031-0/+1
| |
| * Import queue from six.movesDana Powers2016-01-033-18/+6
| |
| * Attempt to fix travis shell magic for pypyDana Powers2016-01-031-1/+1
| |
| * Catch py3 ConnectionErrorsDana Powers2016-01-032-10/+27
| |
| * Message value can be NoneDana Powers2016-01-031-1/+1
| |
| * Dont run pylint on python2.6 (pylint no longer supports)Dana Powers2016-01-031-2/+6
| |
| * Dont run travis tests against 0.8.1 (keep 0.8.1.1); remove UNIT_AND_LINT_ONLYDana Powers2016-01-031-2/+0
| |
| * Move pytest options to [pytest] tox sectionDana Powers2016-01-031-1/+6
| |