mxsm opened a new issue, #7747: URL: https://github.com/apache/rocketmq/issues/7747
### Before Creating the Enhancement Request - [X] I have confirmed that this should be classified as an enhancement rather than a bug/feature. ### Summary ![image](https://github.com/apache/rocketmq/assets/15797831/fea08cdd-369d-4ef8-83d1-4ed1d2ae7283) ### Motivation Simplify code checks using Optional in ClientRequestProcessor#getRouteInfoByTopic method ### Describe the Solution You'd Like Simplify code checks using Optional ### Describe Alternatives You've Considered Simplify the code. ### 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