mxsm opened a new issue, #7845: URL: https://github.com/apache/rocketmq/issues/7845
### Before Creating the Enhancement Request - [X] I have confirmed that this should be classified as an enhancement rather than a bug/feature. ### Summary  The code can be optimized. ### Motivation Simplify the AbstractSendMessageProcessor#buildMsgContext code using Optional ### Describe the Solution You'd Like Simplify the AbstractSendMessageProcessor#buildMsgContext code using Optional ### Describe Alternatives You've Considered The code looks simpler now. ### 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