Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix KafkaConsumer autocommit for 0.8 brokers (#756 / #706) | Dana Powers | 2016-07-16 | 2 | -20/+25 |
| | | | | * Dont wait for group join to enable AutoCommitTask if broker version < 0.9 * For zookeeper offset storage, set a "coordinator" with least_loaded_node | ||||
* | Avoid some exceptions in Coordinator.__del__ (#668) | Dana Powers | 2016-04-25 | 2 | -2/+4 |
| | |||||
* | Changing some commented out metrics to avoid future gotchas. | Zack Dever | 2016-04-13 | 1 | -3/+3 |
| | |||||
* | Beginnings of metrics instrumentation in kafka consumer. | Zack Dever | 2016-04-13 | 1 | -41/+30 |
| | | | | | | This adds the parent metrics instance to kafka consumer, which will eventually be used to instrument everything under consumer. To start I ported the java consumer coordinator metrics. | ||||
* | Default sleep=True in client.poll | Dana Powers | 2016-04-08 | 1 | -1/+1 |
| | |||||
* | Can no longer have coordinator_id if coordinator_unknown() | Dana Powers | 2016-04-08 | 1 | -6/+0 |
| | |||||
* | Use version-indexed lists for request/response protocol structsprotocol_versions | Dana Powers | 2016-04-05 | 2 | -24/+21 |
| | |||||
* | Remove unused importskafka-3318 | Dana Powers | 2016-04-05 | 1 | -2/+0 |
| | |||||
* | KAFKA-3318: clean up consumer logging and error messages | Dana Powers | 2016-04-05 | 2 | -78/+103 |
| | |||||
* | Update imports from kafka.common -> kafka.errors / kafka.structs | Dana Powers | 2016-04-05 | 4 | -5/+5 |
| | |||||
* | Merge pull request #589 from dpkp/node_not_ready | Dana Powers | 2016-04-04 | 1 | -8/+14 |
|\ | | | | | Refactor NodeNotReadyError handling | ||||
| * | Improve Coordinator Error handling | Dana Powers | 2016-04-04 | 1 | -8/+14 |
| | | | | | | | | | | | | | | - coordinator_unknown() should not check ready(node_id) - dont mark coordinator dead on not-ready or inflight-requests errors - improve coordinator and heartbeat logging - dont gate group metadata requests on ready() check [conn handles now] | ||||
* | | Improve auto-commit task handling when group_id is Noneissue_619 | Dana Powers | 2016-04-03 | 1 | -20/+22 |
|/ | |||||
* | Check for None returned from least_loaded_node when no brokers are availablenone_least_loaded_node | Dana Powers | 2016-03-13 | 1 | -0/+4 |
| | |||||
* | Log successful heartbeat as INFO; improve heartbeat response logging | Dana Powers | 2016-03-12 | 1 | -11/+12 |
| | |||||
* | HeartbeatTask should reschedule heartbeat on coordinator_unknown() | Dana Powers | 2016-03-12 | 1 | -2/+6 |
| | |||||
* | Mock client.ready() call to test coordinator offset fetch request | Dana Powers | 2016-02-19 | 1 | -1/+2 |
| | |||||
* | Some attributes may not exist in __del__ if we failed assertions | Dana Powers | 2016-02-18 | 1 | -1/+1 |
| | |||||
* | More friendly warning when offset fetch request returns unknown topic / ↵ | Dana Powers | 2016-02-18 | 1 | -1/+2 |
| | | | | partition | ||||
* | Verify node ready before sending offset fetch request from coordinator | Dana Powers | 2016-02-18 | 1 | -0/+5 |
| | |||||
* | break up some circular references and close client wake pipe on __del__ | aisch | 2016-02-16 | 2 | -6/+21 |
| | |||||
* | Add RangePartitionAssignor (and use as default); add assignor testsrange_assignor | Dana Powers | 2016-02-16 | 4 | -4/+98 |
| | |||||
* | Fixup: _send_offset_commit_request future should succeed w/ True, not None | Dana Powers | 2016-02-02 | 1 | -1/+2 |
| | |||||
* | Ok to sleep in blocking poll for metadata update | Dana Powers | 2016-01-25 | 1 | -1/+1 |
| | |||||
* | Disable offset commits and auto-partition-assignment when group_id is None | Dana Powers | 2016-01-24 | 1 | -8/+17 |
| | |||||
* | Dont need to refresh metadata on GroupCoordinatorNotAvailableErrors | Dana Powers | 2016-01-24 | 1 | -1/+4 |
| | |||||
* | KAFKA-2978: consumer stops fetching when consumed and fetch positions get ↵ | Dana Powers | 2016-01-10 | 1 | -1/+2 |
| | | | | out of sync | ||||
* | ConsumerCoordinator cleanups | Dana Powers | 2016-01-10 | 2 | -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 | ||||
* | Move ConsumerProtocol definition to kafka.coordinator.protocol | Dana Powers | 2016-01-10 | 3 | -35/+44 |
| | |||||
* | Fix future redefine bug in client.poll | Dana Powers | 2016-01-04 | 1 | -0/+1 |
| | |||||
* | Drop unused method from ConsumerCoordinator | Dana Powers | 2016-01-03 | 1 | -5/+0 |
| | |||||
* | Check api_version in ConsumerCoordinator | Dana Powers | 2016-01-03 | 1 | -32/+94 |
| | | | | | | | - Full group support in 0.9 - Kafka-storage offsets w/ GroupCoordinator in 0.8.2 - Zookeeper-storage offsets in 0.8.1 - Assign all partitions locally if < 0.9 | ||||
* | Use python3 compatible next() in roundrobin assignor | Dana Powers | 2016-01-01 | 1 | -2/+2 |
| | |||||
* | Fixup heartbeat config assertion | Dana Powers | 2015-12-31 | 1 | -1/+1 |
| | |||||
* | Rename AbstractCoordinator -> BaseCoordinator, log as kafka.coordinator | Dana Powers | 2015-12-30 | 2 | -5/+5 |
| | |||||
* | Prefer assert or more-specific error to IllegalState / IllegalArgument | Dana Powers | 2015-12-30 | 3 | -21/+8 |
| | |||||
* | Catch GroupCoordinatorNotAvailableError in GroupCoordinatorResponse handler | Dana Powers | 2015-12-30 | 1 | -0/+3 |
| | |||||
* | More Docstring Improvements | Dana Powers | 2015-12-30 | 3 | -30/+106 |
| | |||||
* | Rename KafkaClient.connection_failed -> is_disconnected | Dana Powers | 2015-12-30 | 1 | -1/+1 |
| | |||||
* | Make group_id a Coordinator kwarg (not arg) for consistency | Dana Powers | 2015-12-30 | 2 | -7/+5 |
| | |||||
* | Switch configs from attributes to dict to make passing / inspecting easier | Dana Powers | 2015-12-29 | 3 | -55/+63 |
| | |||||
* | Fix log statement bug (via pylint) | Dana Powers | 2015-12-29 | 1 | -1/+1 |
| | |||||
* | Clean more ConsumerCoordinator docstrings | Dana Powers | 2015-12-29 | 1 | -16/+19 |
| | |||||
* | Dont warn in AutoCommitTask.disable if not previously scheduled | Dana Powers | 2015-12-29 | 1 | -1/+1 |
| | |||||
* | Improve OffsetCommit error logging | Dana Powers | 2015-12-29 | 1 | -23/+33 |
| | | | | | | Avoid printing full errors because they currently include long descriptions that are generally duplicative of our local error message. | ||||
* | Log request failures in AbstractCoordinator._failed_request | Dana Powers | 2015-12-29 | 1 | -5/+10 |
| | |||||
* | _handle_group_coordinator_response should resolve future with the coordinator id | Dana Powers | 2015-12-29 | 1 | -1/+1 |
| | |||||
* | Improve heartbeat logging | Dana Powers | 2015-12-29 | 1 | -14/+13 |
| | |||||
* | Log as INFO: group join, leader election, partition assignments | Dana Powers | 2015-12-29 | 1 | -1/+4 |
| | |||||
* | Improve various docstrings | Dana Powers | 2015-12-29 | 2 | -19/+33 |
| |