public void updBrokerMangeStatus(int brokerId, ManageStatus mngStatus) {
        if (mngStatus.isAcceptPublish()) {
            enablePubBrokerIdSet.add(brokerId);
        } else {
            enablePubBrokerIdSet.remove(brokerId);
        }
        if (mngStatus.isAcceptSubscribe()) {
            enableSubBrokerIdSet.add(brokerId);
        } else {
            enableSubBrokerIdSet.remove(brokerId);
        }
    }
update broker manage status

@param brokerId broker id index
@param mngStatus broker's manage status
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/master/nodemanage/nodebroker/BrokerPSInfoHolder.java