A consumer uses `asyncio.gather` inside the message handler for every message. Why can this be buggy for resource management?
Python interview question for Advanced practice.
Answer
It can spawn unbounded concurrent tasks, exhausting resources.
Explanation
Unbounded concurrency can overwhelm CPU/IO; use semaphores or bounded worker pools.