public BdbBrokerConfEntity buildBdbBrokerConfEntity() {
        BdbBrokerConfEntity bdbEntity = new BdbBrokerConfEntity(brokerId, brokerIp, brokerPort,
                topicProps.getNumPartitions(), topicProps.getUnflushThreshold(),
                topicProps.getUnflushInterval(), "", topicProps.getDeletePolicy(),
                manageStatus.getCode(), topicProps.isAcceptPublish(),
                topicProps.isAcceptSubscribe(), getAttributes(), true,
                false, getCreateUser(), getCreateDate(),
                getModifyUser(), getModifyDate());
        bdbEntity.setDataVerId(getDataVerId());
        bdbEntity.setRegionId(regionId);
        bdbEntity.setBrokerGroupId(groupId);
        bdbEntity.setBrokerTLSPort(brokerTLSPort);
        bdbEntity.setBrokerWebPort(brokerWebPort);
        bdbEntity.setNumTopicStores(topicProps.getNumTopicStores());
        bdbEntity.setDftMemCacheMsgSizeInMB(topicProps.getMemCacheMsgSizeInMB());
        bdbEntity.setDftMemCacheMsgCntInK(topicProps.getMemCacheMsgCntInK());
        bdbEntity.setDftMemCacheFlushIntvl(topicProps.getMemCacheFlushIntvl());
        bdbEntity.setDftUnFlushDataHold(topicProps.getUnflushDataHold());
        bdbEntity.setDataStore(topicProps.getDataStoreType(), topicProps.getDataPath());
        bdbEntity.buildStrInfo();
        return bdbEntity;
    }
build bdb object from current info

@return the BdbBrokerConfEntity object
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/master/metamanage/metastore/dao/entity/BrokerConfEntity.java