joeCarf opened a new issue, #7340: URL: https://github.com/apache/rocketmq/issues/7340
### Before Creating the Enhancement Request - [X] I have confirmed that this should be classified as an enhancement rather than a bug/feature. ### Summary linked issue: https://github.com/apache/rocketmq/issues/7334 linked pr: https://github.com/apache/rocketmq/pull/7335/files there are duplicate codes, so I think it's better to abstract them into a method. ### Motivation there are duplicate codes, so I think it's better to abstract them into a method. ### Describe the Solution You'd Like abstract duplicate codes into a method. ### Describe Alternatives You've Considered null ### 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
