diff --git a/docs/en/client/java-sdk-user-guide.md b/docs/en/client/java-sdk-user-guide.md index 0e31856bc90..45521eca3e3 100644 --- a/docs/en/client/java-sdk-user-guide.md +++ b/docs/en/client/java-sdk-user-guide.md @@ -423,13 +423,13 @@ Starting from version 2.4.0, the availability of the client in the Kubernetes en `apollo.cache.kubernetes.enable`:Whether to enable the ConfigMap cache mechanism, the default is false. -`apollo.cache.kubernetes.configmap-namespace`:The namespace of the ConfigMap to be used (the namespace in Kubernetes), the default value is "default". +`apollo.cache.kubernetes.namespace`:The namespace of the ConfigMap to be used (the namespace in Kubernetes), the default value is "default". The configuration information will be placed in the specified ConfigMap according to the following correspondence: namespace: Use the specified value, if not specified, the default is "default" -configMapName: {appId} +configMapName: apollo-configcache-{appId} key: {cluster} - {namespace} diff --git a/docs/zh/client/java-sdk-user-guide.md b/docs/zh/client/java-sdk-user-guide.md index 600f49bf498..220569e405f 100644 --- a/docs/zh/client/java-sdk-user-guide.md +++ b/docs/zh/client/java-sdk-user-guide.md @@ -408,13 +408,13 @@ apollo.label=YOUR-APOLLO-LABEL `apollo.cache.kubernetes.enable`:是否开启configMap缓存机制,默认false -`apollo.cache.kubernetes.configmap-namespace`:将使用的configMap所在的namespace(Kubernetes中的namespace),默认值为"default" +`apollo.cache.kubernetes.namespace`:将使用的configMap所在的namespace(Kubernetes中的namespace),默认值为"default" 配置信息会以下面的对应关系放置于指定的configmap中: namespace:使用指定的值,若未指定默认为"default" -configMapName:{appId} +configMapName: apollo-configcache-{appId} key:{cluster}-{namespace}