chi3316 opened a new issue, #8979: URL: https://github.com/apache/rocketmq/issues/8979
### Before Creating the Enhancement Request - [X] I have confirmed that this should be classified as an enhancement rather than a bug/feature. ### Summary Improve the retry mechanism in TimerMessageStore to handle message processing failures more efficiently by refining retry limits and adding better fallback handling. ### Motivation The current retry mechanism lacks flexibility, which may lead to unintentional message loss. Adding a configurable switch ensures users can choose to retain unprocessed messages after retries ### Describe the Solution You'd Like - Refine Retry Limits: Introduce a configurable retry limit to prevent endless retry loops. - Detailed Error Handling: Categorize errors to determine retry eligibility. ### Describe Alternatives You've Considered Skipping retries entirely for certain error types but discarded due to potential message loss. ### Additional Context _No response_ -- 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: commits-unsubscr...@rocketmq.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org