summaryrefslogtreecommitdiff
path: root/kafka
Commit message (Collapse)AuthorAgeFilesLines
...
* Optionally sleep in KafkaClient.poll(), add KafkaClient.wakeup()Dana Powers2016-01-231-7/+37
|
* Add back connection_delay method to KafkaClient - used by KafkaProducerDana Powers2016-01-181-0/+20
| | | | This reverts commit 88cf1b5e4551cd96322aa812fa482bf0f978060a.
* Merge pull request #507 from dpkp/deprecation_warningsDana Powers2016-01-126-5/+43
|\ | | | | Add DeprecationWarnings to legacy classes
| * Add DeprecationWarnings to legacy KafkaClient, Simple/MultiProcess/Consumer, ↵deprecation_warningsDana Powers2016-01-126-5/+43
| | | | | | | | and KafkaConnection
* | Sleep in KafkaConsumer iterator if no partition assignment; dont block in ↵iterator_fetchesDana Powers2016-01-121-4/+25
| | | | | | | | poll if no in-flight fetches
* | Remove sleep call in client.poll -- expect callers to manage this and log ↵Dana Powers2016-01-121-6/+5
| | | | | | | | warning
* | Move consumer_timeout handling to private methodDana Powers2016-01-121-5/+7
| |
* | Attempt to pipeline fetchrequests in iteratorDana Powers2016-01-121-1/+2
| |
* | Use private deque to track in-flight fetchrequestsDana Powers2016-01-121-0/+16
| |
* | Update docstring and comments in _create_fetch_requests re KAFKA-2978Dana Powers2016-01-101-5/+2
| |
* | Reorganize init_fetches calls during iterationDana Powers2016-01-102-7/+20
| | | | | | | | | | | | | | Generally should not init_fetches while the generator has pending messages; this revision adds an explicit check / noop to the public interface, and uses a private method internally to attempt to pipeline fetch requests.
* | Check for assignment changes before yielding new recordDana Powers2016-01-101-0/+9
| |
* | Fetcher logging should be debug or trace (left higher during testing)Dana Powers2016-01-102-9/+12
|/
* 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-102-6/+7
|
* Merge pull request #502 from dpkp/task_poll_timeoutDana Powers2016-01-103-13/+19
|\ | | | | 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-101-2/+4
| |
* | Fix debug logging call in PR 500Dana Powers2016-01-101-1/+1
|/
* Remove old kafka.consumer.kafka moduleDana Powers2016-01-101-771/+0
|
* 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-103-13/+39
|\ | | | | ConsumerCoordinator cleanups and test coverage
| * 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-101-0/+5
|\ \ | |/ |/| Refresh metadata on failed connection attempts
| * Refresh metadata on failed connection attemptshandle_disconnectDana Powers2016-01-091-0/+5
| |
* | Move ConsumerProtocol definition to kafka.coordinator.protocolDana Powers2016-01-103-35/+44
|/
* Merge branch '0.9'Dana Powers2016-01-0745-1022/+6372
|\ | | | | | | | | | | | | | | Conflicts: kafka/codec.py kafka/version.py test/test_producer.py test/test_producer_integration.py
| * Fix KafkaClient->SimpleClient references0.9Dana Powers2016-01-074-5/+5
| |
| * 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
| * Fix future redefine bug in client.pollDana Powers2016-01-042-3/+4
| |
| * Call errbacks with future.exceptionDana Powers2016-01-031-1/+1
| |
| * Import queue from six.movesDana Powers2016-01-032-8/+3
| |
| * Catch py3 ConnectionErrorsDana Powers2016-01-032-10/+27
| |
| * Message value can be NoneDana Powers2016-01-031-1/+1
| |
| * Override Message __hash__ to use _encode_self and not recalc crcsDana Powers2016-01-031-0/+3
| |
| * Assert Message value and (optional) key are bytesDana Powers2016-01-031-0/+2
| |
| * Add __hash__ method to StructDana Powers2016-01-031-0/+3
| |
| * Switch to new KafkaConsumer in module importsDana Powers2016-01-031-1/+1
| |
| * Add deprecated methods to KafkaConsumer w/ notes on alternativesDana Powers2016-01-031-0/+31
| |
| * Drop unused method from ConsumerCoordinatorDana Powers2016-01-031-5/+0
| |
| * Disable pylint error on __iter__ (next is provided via six.Iterator)Dana Powers2016-01-032-2/+2
| |
| * Keep support for old largest/smallest auto_offset_reset optionsDana Powers2016-01-031-0/+7
| |