<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_consumer(self):
 """Context manager that yields an instance of ``Consumer``."""

        with self.connection_pool.acquire(block=True) as conn:
            yield self.consumer(conn)