rocketmq icon indicating copy to clipboard operation
rocketmq copied to clipboard

[Enhancement] Override toString for TopicConfigAndQueueMapping

Open LetLetMe opened this issue 3 years ago • 0 comments

Before Creating the Enhancement Request

  • [X] I have confirmed that this should be classified as an enhancement rather than a bug/feature.

Summary

TopicConfigAndQueueMapping extends from the TopicConfig class but does not override the toString method. This results in situations where they appear equal when printed, but in reality, the equals method returns false. T his can be highly confusing for anyone observing this behavior.

Motivation

Avoid unnecessary misunderstandings

Describe the Solution You'd Like

as mentioned above

Describe Alternatives You've Considered

as mentioned above

Additional Context

No response

LetLetMe avatar Oct 12 '23 06:10 LetLetMe