123123213weqw opened a new pull request, #10916: URL: https://github.com/apache/rocketmq/pull/10916
## What is the purpose of the change Fix #10904. ProducerProcessor.buildSendMessageRequestHeader parsed retry-message counters with Integer.valueOf, so a malformed PROPERTY_RECONSUME_TIME or PROPERTY_MAX_RECONSUME_TIMES value threw NumberFormatException and aborted the Proxy send/retry path. The method already tolerated a malformed born timestamp by falling back to the current time; the retry counters now get the same defensive treatment. ## Brief changelog - ProducerProcessor: parse retry counters with Integer.parseInt on a trimmed value inside try/catch, falling back to 0 and logging a warning on malformed input - valid counters keep their previous behavior ## How was this patch verified - Code review: mirrors the existing bornTimestamp fallback pattern - `git diff --check` clean -- 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]
