code: def reset_consumer_group_metadata(self, *groups):
          
          groups = tuple(_coerce_consumer_group(g) for g in groups)
          for group in groups:
              if group in self.consumer_group_to_brokers:
                  del self.consumer_group_to_brokers[group]
docs: Reset cache of what broker manages the offset for specified groups
  
          Remove the cache of what Kafka broker should be contacted when
          fetching or updating the committed offsets for a given consumer
          group or groups.
  
          NOTE: Does not cancel any outstanding requests for updates to the
          consumer group metadata for the specified groups.