@Override
    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        Partition other = (Partition) obj;
        if (broker == null) {
            if (other.broker != null) {
                return false;
            }
        } else if (broker.getBrokerId() != other.broker.getBrokerId()) {
            return false;
        } else if (!broker.getHost().equals(other.broker.getHost())) {
            return false;
        }
        if (partitionId != other.partitionId) {
            return false;
        }
        if (topic == null) {
            if (other.topic != null) {
                return false;
            }
        } else if (!topic.equals(other.topic)) {
            return false;
        }
        return true;
    }
create a Partition with full broker and part info string

@param broker
@param partStr
inlong-tubemq/tubemq-core/src/main/java/org/apache/inlong/tubemq/corebase/cluster/Partition.java