public boolean getEncryptConfigure(boolean needRetry, ProcessResult procResult) {
        if (shutDown.get()) {
            return procResult.setFailResult(ErrorCode.SDK_CLOSED);
        }
        if (mgrConfig == null) {
            return procResult.setFailResult(ErrorCode.CONFIGURE_NOT_INITIALIZED);
        }
        boolean readFromRmt = false;
        if (!readCachedPubKeyEntry(procResult)) {
            int retryCount = 0;
            while (!shutDown.get()) {
                if (requestPubKeyFromManager(procResult)) {
                    readFromRmt = true;
                    break;
                }
                if (!needRetry
                        || ++retryCount >= mgrConfig.getMetaQueryMaxRetryIfFail()
                        || shutDown.get()) {
                    break;
                }
                // sleep then retry
                ProxyUtils.sleepSomeTime(mgrConfig.getMetaQueryWaitMsIfFail());
            }
        }
        if (shutDown.get()) {
            return procResult.setFailResult(ErrorCode.SDK_CLOSED);
        }
        if (readFromRmt && procResult.isSuccess()) {
            writeCachePubKeyEntryFile((EncryptConfigEntry) procResult.getRetData());
        }
        return procResult.isSuccess();
    }
query encrypt configure from remote manager

@return proxyConfigEntry
inlong-sdk/dataproxy-sdk/src/main/java/org/apache/inlong/sdk/dataproxy/config/ProxyConfigManager.java