RockteMQ-AI commented on issue #11318: URL: https://github.com/apache/rocketmq/issues/11318#issuecomment-6110382142
**Issue Evaluation** Category: `type/documentation` | Status: **Confirmed** The `DefaultPullConsumer` API reference has multiple errors: 1. The example never advances past the first queue — `NO_NEW_MSG` branch only does `break` (exits `switch`), so the `while(true)` loop spins on the same queue indefinitely. 2. The offset is ignored in the example flow. 3. Field and return types in the API tables are inconsistent with the actual `DefaultMQPullConsumer` implementation. **Suggested fix:** Add queue advancement logic in the `NO_NEW_MSG` branch, correct the offset handling, and align the API tables with the actual source code. --- *Automated evaluation by RocketMQ-AI* -- 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]
