sherlock-lin opened a new issue, #6844: URL: https://github.com/apache/rocketmq/issues/6844
### Before Creating the Enhancement Request - [X] I have confirmed that this should be classified as an enhancement rather than a bug/feature. ### Summary Optimize ProducerManager#registerProducer design ### Motivation The old code was redundant and not easy to understand and maintain ### Describe the Solution You'd Like Initialize with Map#putIfAbsent to avoid a lot of determine if it is null ### Describe Alternatives You've Considered Initialize with Map#putIfAbsent to avoid a lot of determine if it is 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]
