Drop unused method from ConsumerCoordinator

This commit is contained in:
Dana Powers
2016-01-03 16:10:40 -08:00
parent 71af307f4e
commit abdbc6ca27

View File

@@ -303,11 +303,6 @@ class ConsumerCoordinator(BaseCoordinator):
time.sleep(self.config['retry_backoff_ms'] / 1000.0)
def ensure_partition_assignment(self):
"""Ensure that we have a valid partition assignment from the coordinator."""
if self._subscription.partitions_auto_assigned():
self.ensure_active_group()
def close(self):
try:
self._maybe_auto_commit_offsets_sync()