summaryrefslogtreecommitdiff
path: root/kafka/coordinator
Commit message (Collapse)AuthorAgeFilesLines
...
* Dont refresh metadata on failed group coordinator request unless needed (#1006)Dana Powers2017-03-031-6/+4
|
* Add sphinx formatting to hyperlink methods (#898)Jeff Widman2017-03-031-5/+5
|
* PEP-8: Spacing & removed unused imports (#899)Jeff Widman2017-02-091-6/+6
|
* Fix possible request draining in ensure_active_group (#896)Dana Powers2016-12-021-3/+6
|
* Always include an error for logging when the coordinator is marked dead (#890)Dana Powers2016-11-182-9/+9
|
* Add comment for round robin partitioner with different subscriptionsDana Powers2016-08-201-0/+15
|
* Drain pending requests to the coordinator before initiating group rejoin (#798)Dana Powers2016-08-041-0/+8
|
* Change coordinator.needs_join_prepare -> coordinator.rejoining; fix consumer ↵Dana Powers2016-08-041-4/+4
| | | | group test (#795)
* Treat metric_group_prefix as config in KafkaConsumerDana Powers2016-08-042-8/+7
|
* Always absolute_importabsolute_importDana Powers2016-08-024-0/+8
|
* Vendor six 1.10.0sixDana Powers2016-08-014-4/+4
|
* Add base coordinator metricsDana Powers2016-07-173-76/+80
|
* KAFKA-3486: fix autocommit when partitions assigned manually (#767 / #626)Dana Powers2016-07-171-44/+8
|
* KAFKA-3117: handle metadata updates during consumer rebalance (#766 / #701)Dana Powers2016-07-171-10/+24
|
* KAFKA-2832: Add a consumer config option to exclude internal topics (#765)Dana Powers2016-07-171-4/+8
| | | | Use exclude_internal_topics config in KafkaConsumer to avoid subscribe patterns matching internal topics Raise error during rebalance if subscribed topics are not authorized
* Fix KafkaConsumer autocommit for 0.8 brokers (#756 / #706)Dana Powers2016-07-162-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 Powers2016-04-252-2/+4
|
* Changing some commented out metrics to avoid future gotchas.Zack Dever2016-04-131-3/+3
|
* Beginnings of metrics instrumentation in kafka consumer.Zack Dever2016-04-131-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.pollDana Powers2016-04-081-1/+1
|
* Can no longer have coordinator_id if coordinator_unknown()Dana Powers2016-04-081-6/+0
|
* Use version-indexed lists for request/response protocol structsprotocol_versionsDana Powers2016-04-052-24/+21
|
* Remove unused importskafka-3318Dana Powers2016-04-051-2/+0
|
* KAFKA-3318: clean up consumer logging and error messagesDana Powers2016-04-052-78/+103
|
* Update imports from kafka.common -> kafka.errors / kafka.structsDana Powers2016-04-054-5/+5
|
* Merge pull request #589 from dpkp/node_not_readyDana Powers2016-04-041-8/+14
|\ | | | | Refactor NodeNotReadyError handling
| * Improve Coordinator Error handlingDana Powers2016-04-041-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_619Dana Powers2016-04-031-20/+22
|/
* Check for None returned from least_loaded_node when no brokers are availablenone_least_loaded_nodeDana Powers2016-03-131-0/+4
|
* Log successful heartbeat as INFO; improve heartbeat response loggingDana Powers2016-03-121-11/+12
|
* HeartbeatTask should reschedule heartbeat on coordinator_unknown()Dana Powers2016-03-121-2/+6
|
* Mock client.ready() call to test coordinator offset fetch requestDana Powers2016-02-191-1/+2
|
* Some attributes may not exist in __del__ if we failed assertionsDana Powers2016-02-181-1/+1
|
* More friendly warning when offset fetch request returns unknown topic / ↵Dana Powers2016-02-181-1/+2
| | | | partition
* Verify node ready before sending offset fetch request from coordinatorDana Powers2016-02-181-0/+5
|
* break up some circular references and close client wake pipe on __del__aisch2016-02-162-6/+21
|
* Add RangePartitionAssignor (and use as default); add assignor testsrange_assignorDana Powers2016-02-164-4/+98
|
* Fixup: _send_offset_commit_request future should succeed w/ True, not NoneDana Powers2016-02-021-1/+2
|
* Ok to sleep in blocking poll for metadata updateDana Powers2016-01-251-1/+1
|
* Disable offset commits and auto-partition-assignment when group_id is NoneDana Powers2016-01-241-8/+17
|
* Dont need to refresh metadata on GroupCoordinatorNotAvailableErrorsDana Powers2016-01-241-1/+4
|
* KAFKA-2978: consumer stops fetching when consumed and fetch positions get ↵Dana Powers2016-01-101-1/+2
| | | | out of sync
* 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
* Move ConsumerProtocol definition to kafka.coordinator.protocolDana Powers2016-01-103-35/+44
|
* Fix future redefine bug in client.pollDana Powers2016-01-041-0/+1
|
* Drop unused method from ConsumerCoordinatorDana Powers2016-01-031-5/+0
|
* Check api_version in ConsumerCoordinatorDana Powers2016-01-031-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 assignorDana Powers2016-01-011-2/+2
|
* Fixup heartbeat config assertionDana Powers2015-12-311-1/+1
|
* Rename AbstractCoordinator -> BaseCoordinator, log as kafka.coordinatorDana Powers2015-12-302-5/+5
|