RockteMQ-AI commented on issue #1331: URL: https://github.com/apache/rocketmq-clients/issues/1331#issuecomment-5655082752
**Issue Evaluation** Category: `type/bug` | Status: **Confirmed** The infinite recursion in `__execute_receive_later` is a clear bug. When the method calls itself recursively without a base case or iteration limit, it causes a `RecursionError` stack overflow under sustained load or when the receive loop encounters repeated failures. The fix should replace the recursive call with an iterative loop (e.g., a `while True` loop with a sleep/backoff), or add a maximum recursion depth guard. An iterative approach is preferred for long-running consumer loops. --- *Automated evaluation by github-manager* -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
