private void delRecordFromCaches(String recordKey) {
        TopicDeployEntity curEntity =
                topicDeployCache.remove(recordKey);
        if (curEntity == null) {
            return;
        }
        // add topic index
        ConcurrentHashSet<String> keySet =
                topicName2RecordCache.get(curEntity.getTopicName());
        if (keySet != null) {
            keySet.remove(recordKey);
            if (keySet.isEmpty()) {
                topicName2RecordCache.remove(curEntity.getTopicName(), new ConcurrentHashSet<>());
            }
        }
        // delete brokerId index
        keySet = brokerId2RecordCache.get(curEntity.getBrokerId());
        if (keySet != null) {
            keySet.remove(recordKey);
            if (keySet.isEmpty()) {
                brokerId2RecordCache.remove(curEntity.getBrokerId(), new ConcurrentHashSet<>());
            }
        }
        // delete broker topic map
        keySet = brokerId2TopicNameCache.get(curEntity.getBrokerId());
        if (keySet != null) {
            keySet.remove(curEntity.getTopicName());
            if (keySet.isEmpty()) {
                brokerId2TopicNameCache.remove(curEntity.getBrokerId(), new ConcurrentHashSet<>());
            }
        }
    }
Delete topic deploy configure information from persistent storage

@param recordKey  the record key
@param strBuff    the string buffer
@return the process result
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/master/metamanage/metastore/impl/AbsTopicDeployMapperImpl.java