code: def consumer(self, name):
          
          return type(self)(self.database, self.name, self.keys, name)
docs: Create a new consumer for the :py:class:`ConsumerGroup`.
  
          :param name: name of consumer
          :returns: a :py:class:`ConsumerGroup` using the given consumer name.