From e1c81187c00737b1eb491c7f139b0c68e01a6bf9 Mon Sep 17 00:00:00 2001 From: KomachiSion <263976490@qq.com> Date: Tue, 3 Dec 2024 13:52:44 +0800 Subject: [PATCH] Add 3.0 doc header. --- src/components/common/Header/DocsMenu.astro | 9 + src/components/starlight/Head.astro | 2 +- src/content/docs/v3.0/_sidebar.json | 224 ++ src/content/docs/v3.0/en/architecture.md | 135 + src/content/docs/v3.0/en/archive/activity.md | 50 + src/content/docs/v3.0/en/archive/cli-guide.md | 7 + .../docs/v3.0/en/archive/contributing-dev.md | 130 + .../docs/v3.0/en/archive/feature-list.md | 203 ++ src/content/docs/v3.0/en/archive/roadmap.md | 42 + .../docs/v3.0/en/archive/sdk-properties.md | 50 + .../v3.0/en/archive/use-nacos-with-istio.md | 7 + .../en/archive/use-nacos-with-springcloud.md | 19 + .../docs/v3.0/en/community/community.md | 30 + .../docs/v3.0/en/community/nacos-dev.md | 101 + src/content/docs/v3.0/en/concepts.md | 101 + .../v3.0/en/contribution/contributing-flow.md | 107 + .../docs/v3.0/en/contribution/contributing.md | 102 + .../en/contribution/how-to-reporting-bugs.md | 32 + .../docs/v3.0/en/contribution/pull-request.md | 32 + .../docs/v3.0/en/ecology/img/k8s-sync.jpg | Bin 0 -> 149811 bytes .../docs/v3.0/en/ecology/use-nacos-sync.md | 241 ++ .../v3.0/en/ecology/use-nacos-with-coredns.md | 53 + .../v3.0/en/ecology/use-nacos-with-dubbo.md | 473 +++ .../v3.0/en/ecology/use-nacos-with-istio.md | 176 ++ .../en/ecology/use-nacos-with-k8s-sync.md | 37 + .../en/ecology/use-nacos-with-spring-boot.md | 178 ++ .../en/ecology/use-nacos-with-spring-cloud.md | 201 ++ .../v3.0/en/ecology/use-nacos-with-spring.md | 455 +++ .../guide/admin/cluster-mode-quick-start.md | 165 + .../docs/v3.0/en/guide/admin/console-guide.md | 181 ++ .../docs/v3.0/en/guide/admin/deployment.md | 100 + .../v3.0/en/guide/admin/management-api.md | 11 + .../docs/v3.0/en/guide/admin/monitor-guide.md | 249 ++ .../en/guide/admin/nacos2-config-benchmark.md | 9 + .../en/guide/admin/nacos2-naming-benchmark.md | 9 + .../en/guide/admin/system-configurations.md | 107 + src/content/docs/v3.0/en/guide/user/auth.md | 226 ++ .../docs/v3.0/en/guide/user/failover.md | 147 + src/content/docs/v3.0/en/guide/user/faq.md | 185 ++ .../docs/v3.0/en/guide/user/open-api.md | 2807 +++++++++++++++++ .../docs/v3.0/en/guide/user/other-language.md | 18 + .../v3.0/en/guide/user/parameters-check.md | 10 + src/content/docs/v3.0/en/guide/user/sdk.md | 671 ++++ .../docs/v3.0/en/manual/admin/admin-api.md | 974 ++++++ .../docs/v3.0/en/manual/admin/auth.mdx | 167 + .../docs/v3.0/en/manual/admin/console.md | 177 ++ .../admin/deployment/deployment-cluster.md | 365 +++ .../admin/deployment/deployment-overview.md | 91 + .../deployment/deployment-standalone.mdx | 88 + .../docs/v3.0/en/manual/admin/monitor.md | 170 + .../en/manual/admin/system-configurations.md | 250 ++ .../docs/v3.0/en/manual/admin/upgrading.mdx | 135 + .../docs/v3.0/en/manual/test/nacos-e2e.md | 163 + .../v3.0/en/manual/test/nacos-unit-test.md | 139 + .../docs/v3.0/en/manual/user/addressing.mdx | 240 ++ src/content/docs/v3.0/en/manual/user/auth.mdx | 116 + .../docs/v3.0/en/manual/user/go-sdk/usage.md | 388 +++ .../v3.0/en/manual/user/java-sdk/failover.md | 143 + .../en/manual/user/java-sdk/properties.md | 223 ++ .../v3.0/en/manual/user/java-sdk/usage.md | 1068 +++++++ .../docs/v3.0/en/manual/user/open-api.md | 1919 +++++++++++ .../en/manual/user/overview/other-language.md | 22 + .../v3.0/en/manual/user/parameters-check.md | 235 ++ .../v3.0/en/manual/user/python-sdk/usage.md | 239 ++ src/content/docs/v3.0/en/overview.md | 138 + .../docs/v3.0/en/plugin/address-plugin.md | 96 + .../docs/v3.0/en/plugin/auth-plugin.md | 185 ++ .../v3.0/en/plugin/config-change-plugin.md | 141 + .../en/plugin/config-encryption-plugin.md | 82 + .../en/plugin/custom-environment-plugin.md | 58 + .../docs/v3.0/en/plugin/datasource-plugin.md | 9 + .../docs/v3.0/en/plugin/trace-plugin.md | 201 ++ .../v3.0/en/quickstart/quick-start-docker.mdx | 83 + .../en/quickstart/quick-start-kubernetes.mdx | 81 + .../v3.0/en/quickstart/quick-start-native.mdx | 69 + .../docs/v3.0/en/quickstart/quick-start.mdx | 117 + .../v3.0/en/upgrading/200-compatibility.md | 208 ++ .../docs/v3.0/en/upgrading/200-upgrading.md | 9 + src/content/docs/v3.0/en/what-is-nacos.md | 96 + src/content/docs/v3.0/zh-cn/architecture.md | 130 + .../docs/v3.0/zh-cn/archive/activity.md | 48 + .../docs/v3.0/zh-cn/archive/cli-guide.md | 7 + .../v3.0/zh-cn/archive/contributing-dev.md | 127 + .../docs/v3.0/zh-cn/archive/feature-list.md | 203 ++ .../docs/v3.0/zh-cn/archive/roadmap.md | 41 + .../docs/v3.0/zh-cn/archive/sdk-properties.md | 50 + .../zh-cn/archive/use-nacos-with-istio.md | 7 + .../archive/use-nacos-with-springcloud.md | 19 + .../docs/v3.0/zh-cn/community/community.md | 30 + .../docs/v3.0/zh-cn/community/nacos-dev.md | 100 + src/content/docs/v3.0/zh-cn/concepts.md | 78 + .../zh-cn/contribution/contributing-flow.md | 100 + .../v3.0/zh-cn/contribution/contributing.md | 101 + .../contribution/how-to-reporting-bugs.md | 30 + .../v3.0/zh-cn/contribution/pull-request.md | 32 + .../docs/v3.0/zh-cn/ecology/img/k8s-sync.jpg | Bin 0 -> 149811 bytes .../docs/v3.0/zh-cn/ecology/use-nacos-sync.md | 241 ++ .../zh-cn/ecology/use-nacos-with-coredns.md | 54 + .../zh-cn/ecology/use-nacos-with-dubbo.md | 481 +++ .../zh-cn/ecology/use-nacos-with-istio.md | 168 + .../zh-cn/ecology/use-nacos-with-k8s-sync.md | 38 + .../ecology/use-nacos-with-spring-boot.md | 173 + .../ecology/use-nacos-with-spring-cloud.md | 203 ++ .../zh-cn/ecology/use-nacos-with-spring.md | 456 +++ .../guide/admin/cluster-mode-quick-start.md | 176 ++ .../v3.0/zh-cn/guide/admin/console-guide.md | 189 ++ .../docs/v3.0/zh-cn/guide/admin/deployment.md | 99 + .../v3.0/zh-cn/guide/admin/management-api.md | 9 + .../v3.0/zh-cn/guide/admin/monitor-guide.md | 248 ++ .../guide/admin/nacos2-config-benchmark.md | 181 ++ .../guide/admin/nacos2-naming-benchmark.md | 131 + .../guide/admin/system-configurations.md | 107 + .../docs/v3.0/zh-cn/guide/user/auth.md | 236 ++ .../docs/v3.0/zh-cn/guide/user/failover.md | 144 + src/content/docs/v3.0/zh-cn/guide/user/faq.md | 308 ++ .../docs/v3.0/zh-cn/guide/user/open-api.md | 2531 +++++++++++++++ .../v3.0/zh-cn/guide/user/other-language.md | 23 + .../v3.0/zh-cn/guide/user/parameters-check.md | 244 ++ src/content/docs/v3.0/zh-cn/guide/user/sdk.md | 659 ++++ .../docs/v3.0/zh-cn/manual/admin/admin-api.md | 974 ++++++ .../docs/v3.0/zh-cn/manual/admin/auth.mdx | 167 + .../docs/v3.0/zh-cn/manual/admin/console.md | 177 ++ .../admin/deployment/deployment-cluster.md | 365 +++ .../admin/deployment/deployment-overview.md | 91 + .../deployment/deployment-standalone.mdx | 88 + .../docs/v3.0/zh-cn/manual/admin/monitor.md | 170 + .../manual/admin/system-configurations.md | 250 ++ .../v3.0/zh-cn/manual/admin/upgrading.mdx | 135 + .../docs/v3.0/zh-cn/manual/test/nacos-e2e.md | 163 + .../v3.0/zh-cn/manual/test/nacos-unit-test.md | 139 + .../v3.0/zh-cn/manual/user/addressing.mdx | 240 ++ .../docs/v3.0/zh-cn/manual/user/auth.mdx | 116 + .../v3.0/zh-cn/manual/user/go-sdk/usage.md | 388 +++ .../zh-cn/manual/user/java-sdk/failover.md | 143 + .../zh-cn/manual/user/java-sdk/properties.md | 223 ++ .../v3.0/zh-cn/manual/user/java-sdk/usage.md | 1068 +++++++ .../docs/v3.0/zh-cn/manual/user/open-api.md | 1919 +++++++++++ .../manual/user/overview/other-language.md | 21 + .../zh-cn/manual/user/parameters-check.md | 235 ++ .../zh-cn/manual/user/python-sdk/usage.md | 239 ++ src/content/docs/v3.0/zh-cn/overview.md | 138 + .../docs/v3.0/zh-cn/plugin/address-plugin.md | 97 + .../docs/v3.0/zh-cn/plugin/auth-plugin.md | 182 ++ .../v3.0/zh-cn/plugin/config-change-plugin.md | 138 + .../zh-cn/plugin/config-encryption-plugin.md | 78 + .../docs/v3.0/zh-cn/plugin/control-plugin.md | 222 ++ .../zh-cn/plugin/custom-environment-plugin.md | 58 + .../v3.0/zh-cn/plugin/datasource-plugin.md | 65 + .../docs/v3.0/zh-cn/plugin/trace-plugin.md | 199 ++ .../zh-cn/quickstart/quick-start-docker.mdx | 83 + .../quickstart/quick-start-kubernetes.mdx | 81 + .../zh-cn/quickstart/quick-start-native.mdx | 69 + .../v3.0/zh-cn/quickstart/quick-start.mdx | 117 + .../v3.0/zh-cn/upgrading/200-compatibility.md | 206 ++ .../v3.0/zh-cn/upgrading/200-upgrading.md | 550 ++++ src/content/docs/v3.0/zh-cn/what-is-nacos.md | 97 + 156 files changed, 34869 insertions(+), 1 deletion(-) create mode 100644 src/content/docs/v3.0/_sidebar.json create mode 100644 src/content/docs/v3.0/en/architecture.md create mode 100644 src/content/docs/v3.0/en/archive/activity.md create mode 100644 src/content/docs/v3.0/en/archive/cli-guide.md create mode 100644 src/content/docs/v3.0/en/archive/contributing-dev.md create mode 100644 src/content/docs/v3.0/en/archive/feature-list.md create mode 100644 src/content/docs/v3.0/en/archive/roadmap.md create mode 100644 src/content/docs/v3.0/en/archive/sdk-properties.md create mode 100644 src/content/docs/v3.0/en/archive/use-nacos-with-istio.md create mode 100644 src/content/docs/v3.0/en/archive/use-nacos-with-springcloud.md create mode 100644 src/content/docs/v3.0/en/community/community.md create mode 100644 src/content/docs/v3.0/en/community/nacos-dev.md create mode 100644 src/content/docs/v3.0/en/concepts.md create mode 100644 src/content/docs/v3.0/en/contribution/contributing-flow.md create mode 100644 src/content/docs/v3.0/en/contribution/contributing.md create mode 100644 src/content/docs/v3.0/en/contribution/how-to-reporting-bugs.md create mode 100644 src/content/docs/v3.0/en/contribution/pull-request.md create mode 100644 src/content/docs/v3.0/en/ecology/img/k8s-sync.jpg create mode 100644 src/content/docs/v3.0/en/ecology/use-nacos-sync.md create mode 100644 src/content/docs/v3.0/en/ecology/use-nacos-with-coredns.md create mode 100644 src/content/docs/v3.0/en/ecology/use-nacos-with-dubbo.md create mode 100644 src/content/docs/v3.0/en/ecology/use-nacos-with-istio.md create mode 100644 src/content/docs/v3.0/en/ecology/use-nacos-with-k8s-sync.md create mode 100644 src/content/docs/v3.0/en/ecology/use-nacos-with-spring-boot.md create mode 100644 src/content/docs/v3.0/en/ecology/use-nacos-with-spring-cloud.md create mode 100644 src/content/docs/v3.0/en/ecology/use-nacos-with-spring.md create mode 100644 src/content/docs/v3.0/en/guide/admin/cluster-mode-quick-start.md create mode 100644 src/content/docs/v3.0/en/guide/admin/console-guide.md create mode 100644 src/content/docs/v3.0/en/guide/admin/deployment.md create mode 100644 src/content/docs/v3.0/en/guide/admin/management-api.md create mode 100644 src/content/docs/v3.0/en/guide/admin/monitor-guide.md create mode 100644 src/content/docs/v3.0/en/guide/admin/nacos2-config-benchmark.md create mode 100644 src/content/docs/v3.0/en/guide/admin/nacos2-naming-benchmark.md create mode 100644 src/content/docs/v3.0/en/guide/admin/system-configurations.md create mode 100644 src/content/docs/v3.0/en/guide/user/auth.md create mode 100644 src/content/docs/v3.0/en/guide/user/failover.md create mode 100644 src/content/docs/v3.0/en/guide/user/faq.md create mode 100644 src/content/docs/v3.0/en/guide/user/open-api.md create mode 100644 src/content/docs/v3.0/en/guide/user/other-language.md create mode 100644 src/content/docs/v3.0/en/guide/user/parameters-check.md create mode 100644 src/content/docs/v3.0/en/guide/user/sdk.md create mode 100644 src/content/docs/v3.0/en/manual/admin/admin-api.md create mode 100644 src/content/docs/v3.0/en/manual/admin/auth.mdx create mode 100644 src/content/docs/v3.0/en/manual/admin/console.md create mode 100644 src/content/docs/v3.0/en/manual/admin/deployment/deployment-cluster.md create mode 100644 src/content/docs/v3.0/en/manual/admin/deployment/deployment-overview.md create mode 100644 src/content/docs/v3.0/en/manual/admin/deployment/deployment-standalone.mdx create mode 100644 src/content/docs/v3.0/en/manual/admin/monitor.md create mode 100644 src/content/docs/v3.0/en/manual/admin/system-configurations.md create mode 100644 src/content/docs/v3.0/en/manual/admin/upgrading.mdx create mode 100644 src/content/docs/v3.0/en/manual/test/nacos-e2e.md create mode 100644 src/content/docs/v3.0/en/manual/test/nacos-unit-test.md create mode 100644 src/content/docs/v3.0/en/manual/user/addressing.mdx create mode 100644 src/content/docs/v3.0/en/manual/user/auth.mdx create mode 100644 src/content/docs/v3.0/en/manual/user/go-sdk/usage.md create mode 100644 src/content/docs/v3.0/en/manual/user/java-sdk/failover.md create mode 100644 src/content/docs/v3.0/en/manual/user/java-sdk/properties.md create mode 100644 src/content/docs/v3.0/en/manual/user/java-sdk/usage.md create mode 100644 src/content/docs/v3.0/en/manual/user/open-api.md create mode 100644 src/content/docs/v3.0/en/manual/user/overview/other-language.md create mode 100644 src/content/docs/v3.0/en/manual/user/parameters-check.md create mode 100644 src/content/docs/v3.0/en/manual/user/python-sdk/usage.md create mode 100644 src/content/docs/v3.0/en/overview.md create mode 100644 src/content/docs/v3.0/en/plugin/address-plugin.md create mode 100644 src/content/docs/v3.0/en/plugin/auth-plugin.md create mode 100644 src/content/docs/v3.0/en/plugin/config-change-plugin.md create mode 100644 src/content/docs/v3.0/en/plugin/config-encryption-plugin.md create mode 100644 src/content/docs/v3.0/en/plugin/custom-environment-plugin.md create mode 100644 src/content/docs/v3.0/en/plugin/datasource-plugin.md create mode 100644 src/content/docs/v3.0/en/plugin/trace-plugin.md create mode 100644 src/content/docs/v3.0/en/quickstart/quick-start-docker.mdx create mode 100644 src/content/docs/v3.0/en/quickstart/quick-start-kubernetes.mdx create mode 100644 src/content/docs/v3.0/en/quickstart/quick-start-native.mdx create mode 100644 src/content/docs/v3.0/en/quickstart/quick-start.mdx create mode 100644 src/content/docs/v3.0/en/upgrading/200-compatibility.md create mode 100644 src/content/docs/v3.0/en/upgrading/200-upgrading.md create mode 100644 src/content/docs/v3.0/en/what-is-nacos.md create mode 100644 src/content/docs/v3.0/zh-cn/architecture.md create mode 100644 src/content/docs/v3.0/zh-cn/archive/activity.md create mode 100644 src/content/docs/v3.0/zh-cn/archive/cli-guide.md create mode 100644 src/content/docs/v3.0/zh-cn/archive/contributing-dev.md create mode 100644 src/content/docs/v3.0/zh-cn/archive/feature-list.md create mode 100644 src/content/docs/v3.0/zh-cn/archive/roadmap.md create mode 100644 src/content/docs/v3.0/zh-cn/archive/sdk-properties.md create mode 100644 src/content/docs/v3.0/zh-cn/archive/use-nacos-with-istio.md create mode 100644 src/content/docs/v3.0/zh-cn/archive/use-nacos-with-springcloud.md create mode 100644 src/content/docs/v3.0/zh-cn/community/community.md create mode 100644 src/content/docs/v3.0/zh-cn/community/nacos-dev.md create mode 100644 src/content/docs/v3.0/zh-cn/concepts.md create mode 100644 src/content/docs/v3.0/zh-cn/contribution/contributing-flow.md create mode 100644 src/content/docs/v3.0/zh-cn/contribution/contributing.md create mode 100644 src/content/docs/v3.0/zh-cn/contribution/how-to-reporting-bugs.md create mode 100644 src/content/docs/v3.0/zh-cn/contribution/pull-request.md create mode 100644 src/content/docs/v3.0/zh-cn/ecology/img/k8s-sync.jpg create mode 100644 src/content/docs/v3.0/zh-cn/ecology/use-nacos-sync.md create mode 100644 src/content/docs/v3.0/zh-cn/ecology/use-nacos-with-coredns.md create mode 100644 src/content/docs/v3.0/zh-cn/ecology/use-nacos-with-dubbo.md create mode 100644 src/content/docs/v3.0/zh-cn/ecology/use-nacos-with-istio.md create mode 100644 src/content/docs/v3.0/zh-cn/ecology/use-nacos-with-k8s-sync.md create mode 100644 src/content/docs/v3.0/zh-cn/ecology/use-nacos-with-spring-boot.md create mode 100644 src/content/docs/v3.0/zh-cn/ecology/use-nacos-with-spring-cloud.md create mode 100644 src/content/docs/v3.0/zh-cn/ecology/use-nacos-with-spring.md create mode 100644 src/content/docs/v3.0/zh-cn/guide/admin/cluster-mode-quick-start.md create mode 100644 src/content/docs/v3.0/zh-cn/guide/admin/console-guide.md create mode 100644 src/content/docs/v3.0/zh-cn/guide/admin/deployment.md create mode 100644 src/content/docs/v3.0/zh-cn/guide/admin/management-api.md create mode 100644 src/content/docs/v3.0/zh-cn/guide/admin/monitor-guide.md create mode 100644 src/content/docs/v3.0/zh-cn/guide/admin/nacos2-config-benchmark.md create mode 100644 src/content/docs/v3.0/zh-cn/guide/admin/nacos2-naming-benchmark.md create mode 100644 src/content/docs/v3.0/zh-cn/guide/admin/system-configurations.md create mode 100644 src/content/docs/v3.0/zh-cn/guide/user/auth.md create mode 100644 src/content/docs/v3.0/zh-cn/guide/user/failover.md create mode 100644 src/content/docs/v3.0/zh-cn/guide/user/faq.md create mode 100644 src/content/docs/v3.0/zh-cn/guide/user/open-api.md create mode 100644 src/content/docs/v3.0/zh-cn/guide/user/other-language.md create mode 100644 src/content/docs/v3.0/zh-cn/guide/user/parameters-check.md create mode 100644 src/content/docs/v3.0/zh-cn/guide/user/sdk.md create mode 100644 src/content/docs/v3.0/zh-cn/manual/admin/admin-api.md create mode 100644 src/content/docs/v3.0/zh-cn/manual/admin/auth.mdx create mode 100644 src/content/docs/v3.0/zh-cn/manual/admin/console.md create mode 100644 src/content/docs/v3.0/zh-cn/manual/admin/deployment/deployment-cluster.md create mode 100644 src/content/docs/v3.0/zh-cn/manual/admin/deployment/deployment-overview.md create mode 100644 src/content/docs/v3.0/zh-cn/manual/admin/deployment/deployment-standalone.mdx create mode 100644 src/content/docs/v3.0/zh-cn/manual/admin/monitor.md create mode 100644 src/content/docs/v3.0/zh-cn/manual/admin/system-configurations.md create mode 100644 src/content/docs/v3.0/zh-cn/manual/admin/upgrading.mdx create mode 100644 src/content/docs/v3.0/zh-cn/manual/test/nacos-e2e.md create mode 100644 src/content/docs/v3.0/zh-cn/manual/test/nacos-unit-test.md create mode 100644 src/content/docs/v3.0/zh-cn/manual/user/addressing.mdx create mode 100644 src/content/docs/v3.0/zh-cn/manual/user/auth.mdx create mode 100644 src/content/docs/v3.0/zh-cn/manual/user/go-sdk/usage.md create mode 100644 src/content/docs/v3.0/zh-cn/manual/user/java-sdk/failover.md create mode 100644 src/content/docs/v3.0/zh-cn/manual/user/java-sdk/properties.md create mode 100644 src/content/docs/v3.0/zh-cn/manual/user/java-sdk/usage.md create mode 100644 src/content/docs/v3.0/zh-cn/manual/user/open-api.md create mode 100644 src/content/docs/v3.0/zh-cn/manual/user/overview/other-language.md create mode 100644 src/content/docs/v3.0/zh-cn/manual/user/parameters-check.md create mode 100644 src/content/docs/v3.0/zh-cn/manual/user/python-sdk/usage.md create mode 100644 src/content/docs/v3.0/zh-cn/overview.md create mode 100644 src/content/docs/v3.0/zh-cn/plugin/address-plugin.md create mode 100644 src/content/docs/v3.0/zh-cn/plugin/auth-plugin.md create mode 100644 src/content/docs/v3.0/zh-cn/plugin/config-change-plugin.md create mode 100644 src/content/docs/v3.0/zh-cn/plugin/config-encryption-plugin.md create mode 100644 src/content/docs/v3.0/zh-cn/plugin/control-plugin.md create mode 100644 src/content/docs/v3.0/zh-cn/plugin/custom-environment-plugin.md create mode 100644 src/content/docs/v3.0/zh-cn/plugin/datasource-plugin.md create mode 100644 src/content/docs/v3.0/zh-cn/plugin/trace-plugin.md create mode 100644 src/content/docs/v3.0/zh-cn/quickstart/quick-start-docker.mdx create mode 100644 src/content/docs/v3.0/zh-cn/quickstart/quick-start-kubernetes.mdx create mode 100644 src/content/docs/v3.0/zh-cn/quickstart/quick-start-native.mdx create mode 100644 src/content/docs/v3.0/zh-cn/quickstart/quick-start.mdx create mode 100644 src/content/docs/v3.0/zh-cn/upgrading/200-compatibility.md create mode 100644 src/content/docs/v3.0/zh-cn/upgrading/200-upgrading.md create mode 100644 src/content/docs/v3.0/zh-cn/what-is-nacos.md diff --git a/src/components/common/Header/DocsMenu.astro b/src/components/common/Header/DocsMenu.astro index 0eb38f6c91a..03e77371f7e 100644 --- a/src/components/common/Header/DocsMenu.astro +++ b/src/components/common/Header/DocsMenu.astro @@ -27,6 +27,15 @@ export const docsItems = [ link: "/en/docs/next/overview/", } }, + { + label: "3.0", + target: "_self", + link: "/docs/v3.0/what-is-nacos/", + translations: { + en: "3.0", + link: "/en/docs/v3.0/what-is-nacos/", + } + }, { label: "2.3", target: "_self", diff --git a/src/components/starlight/Head.astro b/src/components/starlight/Head.astro index e84cc0363cd..ec52b2c4c7e 100644 --- a/src/components/starlight/Head.astro +++ b/src/components/starlight/Head.astro @@ -18,7 +18,7 @@ let canonical = Astro.site if (canonical && Astro.url.pathname.includes("/docs/")) { // 对于多版本文档来说,canonical需要改为latest的链接 - const versionList = ["v1", "v2", "next", "v2.3"]; + const versionList = ["v1", "v2", "next", "v2.3", "v3.0"]; const pathname = Astro.url.pathname; try { const version = pathname.split("/docs/")[1].split("/")[0]; diff --git a/src/content/docs/v3.0/_sidebar.json b/src/content/docs/v3.0/_sidebar.json new file mode 100644 index 00000000000..05be37067ef --- /dev/null +++ b/src/content/docs/v3.0/_sidebar.json @@ -0,0 +1,224 @@ +[ + { + "label": "概览", + "link": "docs/overview/", + "translations": { + "en": "Overview" + } + }, + { + "label": "快速开始", + "translations": { + "en": "Quick Start" + }, + "collapsed": false, + "items": [ + { + "label": "Nacos", + "link": "docs/quickstart/quick-start/", + "translations": { + "en": "Nacos" + } + }, + { + "label": "Nacos Docker", + "link": "docs/quickstart/quick-start-docker/", + "translations": { + "en": "Nacos Docker" + } + }, + { + "label": "Nacos Kubernetes", + "link": "docs/quickstart/quick-start-kubernetes/", + "translations": { + "en": "Nacos Kubernetes" + } + } + ] + }, + { + "label": "用户手册", + "translations": { + "en": "User Manual" + }, + "items": [ + { + "label": "概览", + "autogenerate": { "directory": "manual/user/overview" } + }, + { + "label": "JAVA SDK", + "autogenerate": { "directory": "manual/user/java-sdk" } + }, + { + "label": "Golang SDK", + "autogenerate": { "directory": "manual/user/go-sdk" } + }, + { + "label": "Python SDK", + "autogenerate": { "directory": "manual/user/python-sdk" } + }, + { + "label": "Open API 手册", + "translations": { + "en": "Open API Manual" + }, + "link": "docs/manual/user/open-api" + }, + { + "label": "配置鉴权", + "translations": { + "en": "Authorization" + }, + "link": "docs/manual/user/auth" + }, + { + "label": "参数校验", + "translations": { + "en": "Parameters Check" + }, + "link": "docs/manual/user/parameters-check" + }, + { + "label": "寻址说明", + "translations": { + "en": "Addressing" + }, + "link": "docs/manual/user/addressing" + } + ] + }, + { + "label": "运维手册", + "translations": { + "en": "Admin Manual" + }, + "items": [ + { + "label": "部署手册", + "translations": { + "en": "Deploy Manual" + }, + "autogenerate": { "directory": "manual/admin/deployment" } + }, + { + "label": "系统参数", + "translations": { + "en": "Nacos Configuration" + }, + "link": "docs/manual/admin/system-configurations" + }, + { + "label": "运维API", + "translations": { + "en": "Management API" + }, + "link": "docs/manual/admin/admin-api" + }, + { + "label": "鉴权手册", + "translations": { + "en": "Authorization Manual" + }, + "link": "docs/manual/admin/auth" + }, + { + "label": "升级手册", + "translations": { + "en": "Upgrading Manual" + }, + "link": "docs/manual/admin/upgrading" + }, + { + "label": "监控手册", + "translations": { + "en": "Monitor Manual" + }, + "link": "docs/manual/admin/monitor" + } + , + { + "label": "控制台手册", + "translations": { + "en": "Console Manual" + }, + "link": "docs/manual/admin/console" + } + ] + }, + { + "label": "插件", + "translations": { + "en": "Plugin" + }, + "autogenerate": { "directory": "plugin" } + }, + { + "label": "测试手册", + "translations": { + "en": "Test Manual" + }, + "autogenerate": { "directory": "manual/test" } + }, + { + "label": "生态融合", + "translations": { + "en": "Ecology" + }, + "autogenerate": { "directory": "ecology" } + }, + { + "label": "开源共建", + "translations": { + "en": "Contributor Guide" + }, + "autogenerate": { "directory": "contribution" } + }, + { + "label": "社区", + "translations": { + "en": "Community" + }, + "autogenerate": { "directory": "community" } + }, + { + "label": "将归档", + "translations": { + "en": "Archiving" + }, + "collapsed": true, + "items": [ + { + "label": "什么是 Nacos", + "translations": { + "en": "What is Nacos" + }, + "link": "docs/what-is-nacos" + }, + { + "label": "升级", + "translations": { + "en": "Upgrading" + }, + "collapsed": true, + "autogenerate": { "directory": "upgrading" } + }, + { + "label": "用户指南", + "translations": { + "en": "User Guide" + }, + "collapsed": true, + "autogenerate": { "directory": "guide/user" } + }, + { + "label": "运维指南", + "translations": { + "en": "Admin Guide" + }, + "collapsed": true, + "autogenerate": { "directory": "guide/admin" } + } + ] + } +] \ No newline at end of file diff --git a/src/content/docs/v3.0/en/architecture.md b/src/content/docs/v3.0/en/architecture.md new file mode 100644 index 00000000000..94e59de122a --- /dev/null +++ b/src/content/docs/v3.0/en/architecture.md @@ -0,0 +1,135 @@ +--- +title: Nacos architecture +keywords: [Nacos,architecture] +description: Nacos architecture +--- + +# Nacos architecture + +> Document optimizing... + +## Basic Architecture and Concepts + +![nacos_arch.jpg](https://cdn.nlark.com/yuque/0/2019/jpeg/338441/1561217892717-1418fb9b-7faa-4324-87b9-f1740329f564.jpeg) + +### Service + +A software function or a set of software functions (such as the retrieval of specified information or the execution of a set of operations) with the purpose that different clients can be reused for different purposes (for example, through a cross-process network call). Nacos supports almost all types of services: +[Kubernetes Service](https://kubernetes.io/docs/concepts/services-networking/service/) + +[gRPC](https://grpc.io/docs/guides/concepts.html#service-definition) +[ | Dubbo RPC Service](https://dubbo.apache.org/#/?lang=en-us) + +[Spring Cloud RESTful Service](https://spring.io/projects/spring-cloud) + +### Service Registry + +The database of services, instances and metadata. Service instances are registered with the service registry on startup and deregistered on shutdown. Clients of the service and/or routers query the service registry to find the available instances of a service. A service registry might invoke a service instances health check API to verify that it is able to handle requests. + +### Service Metadata + +Data describing services such as service endpoints, service labels, service version, service instance weights, routing rules, security policies. + +### Service Provider + +A process or application which provides reusable and callable services. + +### Service Consumer + +A process or application which initiates a call to a service. + +### Configuration + +During system development, developers usually extract some parameters or variables that need to be changed from the code and manage them in a separate configuration file. This enables the static system artifacts or deliverables (such as WAR and JAR packages) to fit with the physical operating environment in a better way. Configuration management is generally a part of system deployment, which is executed by the administrator or operation and maintenance personnel. Configuration modification is an effective method to adjust the behavior of a running system. + +### Configuration Management + +In the data center, all configuration-related activities such as editing, storage, distribution, change management, history version management, and change audit are collectively referred to as configuration management. + +### Naming Service + +Mapping the "names" of all the objects and entities in the distributed system to the associated metadata, for example, ```ServiceName``` -> ```Endpoints\Version etc...```, ```Distributed Lock Name``` -> ```Lock Owner/Status Info```, ```DNS Domain Name``` -> ```IP List```. Service discovery and DNS are the two major scenarios of naming service. + +### Configuration Service + +Providing dynamic configuration, service metadata and configuration management for other services or application. + +### [More concepts...](./concepts.md) + +## Introduction to logical architecture and its components + +![nacos-logic.jpg](https://cdn.nlark.com/yuque/0/2019/png/338441/1561217775318-6e408805-18bb-4242-b4e9-83c5b929b469.png) + +- Service Management: Implement services CRUD, domain name CRUD, service health check, service weight management, etc. +- Configuration Management: Implement configuration CRUD, version management, grayscale management, monitoring management, push trajectory, aggregate data, etc. +- Metadata Management: Provides metadata CURD and marking capabilities +- Plug-in mechanism: implements three modules to share the ability to implement the extended point SPI mechanism +- Event mechanism: implement asynchronous event notification, sdk data change asynchronous notification and other logic +- Log module: Manage log classification, log level, log portability (especially to avoid conflicts), log format, exception code + help documentation +- Callback mechanism: sdk informs the data and calls back user processing through a unified mode. Interface and data structures need to be scalable +- Addressing mode: solve various addressing modes such as ip, domain name, nameserver, broadcast, etc., need to be expandable +- Push channel: solve the push performance problem between server and storage, server, server and sdk +- Capacity management: manage each tenant, the capacity under the group, prevent the storage from being blasted, affecting service availability +- Traffic management: control the request frequency, the number of long links, the size of the message, and request flow control according to multiple dimensions such as tenant and group. +- Caching mechanism: disaster recovery directory, local cache, server cache mechanism. Disaster recovery catalogue requires tools +- Startup mode: Start different programs + UI according to stand-alone mode, configuration mode, service mode, dns mode, or all mode +- Consistency Protocol: Resolve different data, different consistency requirements, different consistency mechanisms +- Storage module: solve data persistence, non-persistent storage, solve data fragmentation problem +- Nameserver: Resolve the routing problem from namespace to clusterid, solve the mapping problem between user environment and nacos physical environment +- CMDB: Solve the metadata storage, docking problems with the three-party cmdb system, solving applications, people, resource relationships +- Metrics: Exposes standard metrics data for easy access to three-way monitoring systems +- Trace: Exposure standard trace, easy to open with SLA system, log whitening, push trajectory, etc., and can be connected with metering and billing system +- Access management: equivalent to Ali cloud service, assign identity, capacity, authority process +- User Management: Resolve issues such as user management, login, sso, etc. +- Rights Management: Resolve issues such as identity, access control, role management, etc. +- Audit system: extended interface facilitates access to different company audit systems +- Notification system: Core data changes, or operations, facilitated through the SMS system, notify the corresponding person data changes +- OpenAPI: exposes the standard Rest style HTTP interface, easy to use, and easy for multi-language integration +- Console: easy to use console, do service management, configuration management, etc. +- SDK: Multilingual sdk +- Agent: dns-f similar mode, or integration with mesh and other programs +- CLI: Lightweight management of the product on the command line, as easy as git + +## Domain Model + +### Data Model + +The Nacos data model Key is uniquely determined by the triplet. The Namespace defaults to an empty string, the public namespace (public), and the group defaults to DEFAULT_GROUP. + +![nacos_data_model](https://cdn.nlark.com/yuque/0/2019/jpeg/338441/1561217857314-95ab332c-acfb-40b2-957a-aae26c2b5d71.jpeg) + +### Service Entity Relationship Model + +![nacos_naming_data_model](https://cdn.nlark.com/yuque/0/2019/jpeg/338441/1561217924697-ba504a35-129f-4fc6-b0df-1130b995375a.jpeg) + +### Config Entity Relationship Model + +Around the configuration, there are mainly two associated entities, one is the configuration change history, and the other is the service tag (used for marking classification, convenient for indexing), which is associated by ID. + +![nacos_config_er](https://cdn.nlark.com/yuque/0/2019/jpeg/338441/1561217958896-4465757f-f588-4797-9c90-a76e604fabb4.jpeg) + + +## Class view + +### Nacos-SDK Class view + +// TODO Service part to be continued + +![nacos_sdk_class_relation](https://cdn.nlark.com/yuque/0/2022/png/25574784/1650771676187-d95a9e45-8656-4d1a-8b5b-ed63a23a816b.png) + + +## Artifacts, Deployment, and Start Mode + +![undefined](https://cdn.yuque.com/lark/0/2018/png/15914/1531730742844-e8325932-258b-49b2-9473-8d1199efe20d.png) + +### Two Artifacts + +Nacos supports both standard Docker images (v0.2.0) and nacos-.zip(tar.gz). You can choose the appropriate build to deploy the Nacos service according to your needs. + +### Two Start Modes + +Nacos supports two start modes. you can merging the Service Registry and the Config Center in one process or deploying them in separately cluster. + +### Free Public Cloud Service on Alibaba Cloud + +In addition to deploying and launching Nacos services by users themselves, Nacos also supports public cloud. Nacos public cloud service will be free in Alibaba Cloud's commercial service (such as [MSE](https://cn.aliyun.com/product/aliware/mse?spm=nacos-website.topbar.0.0.0), [EDAS](https://www.aliyun.com/product/edas)). We also welcome other public cloud providers to offer Nacos public cloud services. diff --git a/src/content/docs/v3.0/en/archive/activity.md b/src/content/docs/v3.0/en/archive/activity.md new file mode 100644 index 00000000000..bb002239641 --- /dev/null +++ b/src/content/docs/v3.0/en/archive/activity.md @@ -0,0 +1,50 @@ +--- +title: Nacos activity +keywords: [Nacos,activity] +description: Nacos award activity +--- + +# Nacos activity + +## I. Activity task list + +* Read the official website copy, find the official website bug, and make constructive suggestions for the official website of Chinese and English. +* Read Chinese and English documents, find document bugs, and give suggestions for improving Chinese and English documents (especially pay attention to places where English translation is not good, because English is our own programmers) +* Try the code -> compile and package -> start Nacos server -> stop Nacos server process, propose improvements +* Try to configure and start multi-node Nacos cluster mode tasks, suggestions for improvement +* Try to use the Nacos Java SDK to give suggestions for improvements to the Java SDK +* Try to improve the OpenAPI with the Nacos Open API +* Try to contribute to the contributor process by trying to contribute to the contribution process based on How to Contribute to Nacos Documentation +* Ask Nacos for needs, development plans, ideas and requirements, etc. + +## II. Activity participation method + +* Scan "超哥" WeChat 2 microcode, let "超哥"" help join "Nacos community exchange group" + + + +![WeChat QR code | left](https://cdn.yuque.com/lark/0/2018/png/11189/1532004866850-5e03b901-6d76-4380-b7bf-66e227808bdc.png "") + + +* Select one or more experience tasks in (I) +* After discovering the problem or bug, follow the "Report Report Method" in (III), send a corresponding github issue, and assign it to @github account [xuechaos] ([https://github.com/xuechaos](https://github.com/xuechaos)) + +## III. Problem Report Mode + +* Submit questions in the nacos repository at github according to the issues template. +* Code warehouse problem, submit pull request repair, after review, merge into the trunk, it becomes a Contributor. +* [https://github.com/alibaba/nacos](https://github.com/alibaba/nacos) +* [https://github.com/nacos-group/nacos-group.github.io](https://github.com/nacos-group/nacos-group.github.io) + +## IV. Mission Rewards + +* We are customizing some small gifts with Nacos Logo for the small partners who have participated and made outstanding contributions, and will consider the courier to the small partners who have made outstanding contributions in the process. +* The gift is light, but I hope I can express my gratitude for your help. +* Due to limited funds, we can only provide 40 gifts at present, so we limit the number of participants to 40 people, first come first served. +* If you wish, the partner who wishes to receive the gift can send a photo with the gift (can hide the face) for us as a photo material for our community activities. + +## V. Other instructions + +* We are not sure that every proposal will be adopted in the end, but we will try to explain what kind of consideration we are based on, and we did not recommend your proposal. +* Try to report problems by mailing list or report issue instead of reporting on WeChat group to document and facilitate our communication process. + diff --git a/src/content/docs/v3.0/en/archive/cli-guide.md b/src/content/docs/v3.0/en/archive/cli-guide.md new file mode 100644 index 00000000000..b9609816ef5 --- /dev/null +++ b/src/content/docs/v3.0/en/archive/cli-guide.md @@ -0,0 +1,7 @@ +--- +title: CLI Guide +keywords: [CLI,Guide] +description: In plan with Nacos 1.x.x +--- + +**IN PLAN** with Nacos 1.x.x diff --git a/src/content/docs/v3.0/en/archive/contributing-dev.md b/src/content/docs/v3.0/en/archive/contributing-dev.md new file mode 100644 index 00000000000..57c031c34c6 --- /dev/null +++ b/src/content/docs/v3.0/en/archive/contributing-dev.md @@ -0,0 +1,130 @@ +--- +title: Contributing to Nacos +keywords: [Nacos,contribute] +description: Welcome to Nacos! This document is a guideline about how to contribute to Nacos. +--- + +# Contributing to Nacos + +Welcome to Nacos! This document is a guideline about how to contribute to Nacos. + +If you find something incorrect or missing, please leave comments / suggestions. + +## Before you get started + +### Code of Conduct + +Please make sure to read and observe our [Code of Conduct](https://github.com/alibaba/nacos/blob/master/CODE_OF_CONDUCT.md). + +## Contributing + +Nacos welcome new participants of any role, including user, contributor, committer and PMC. + +![](http://acm-public.oss-cn-hangzhou.aliyuncs.com/contributor_definition.png) + + +We encourage new comers actively join in Nacos projects and involving from user role to committer role, and even PMC role. In order to accomplish this, new comers needs to actively contribute in Nacos project. The following paragraph introduce how to contribute in Nacos way. + +#### Open / pickup an issue for preparation + +If you find a typo in document, find a bug in code, or want new features, or want to give suggestions, you can [open an issue on GitHub](https://github.com/alibaba/Nacos/issues/new) to report it. + +If you just want to contribute directly you can choose the issue below. + +- [Contribution Welcome](https://github.com/alibaba/nacos/labels/contribution%20welcome): Heavily needed issue, but currently short of hand. + +- [good first issue](https://github.com/alibaba/nacos/labels/good%20first%20issue): Good for newcomers, new comer can pickup one for warm-up. + + +We strongly value documentation and integration with other projects such as Spring Cloud, Kubernetes, Dubbo, etc. We are very glad to work on any issue for these aspects. + +Please note that any PR must be associated with a valid issue. Otherwise the PR will be rejected. + +#### Begin your contribute + +Now if you want to contribute, please create a new pull request. + +We use the `develop` branch as the development branch, which indicates that this is a unstable branch. + +Further more, our branching model complies to [https://nvie.com/posts/a-successful-git-branching-model/](https://nvie.com/posts/a-successful-git-branching-model/). We strongly suggest new comers walk through the above article before creating PR. + +Now, if you are ready to create PR, here is the workflow for contributors: + +1. Fork to your own + +2. Clone fork to local repository + +3. Create a new branch and work on it + +4. Keep your branch in sync + +5. Commit your changes (make sure your commit message concise) + +6. Push your commits to your forked repository + +7. Create a pull request to **develop** branch. + + +When creating pull request: + +1. Please follow [the pull request template](https://github.com/alibaba/nacos/blob/master/.github/PULL_REQUEST_TEMPLATE.md). + +2. Please create the request to **develop** branch. + +3. Please make sure the PR has a corresponding issue. + +4. If your PR contains large changes, e.g. component refactor or new components, please write detailed documents about its design and usage. + +5. Note that a single PR should not be too large. If heavy changes are required, it's better to separate the changes to a few individual PRs. + +6. After creating a PR, one or more reviewers will be assigned to the pull request. + +7. Before merging a PR, squash any fix review feedback, typo, merged, and rebased sorts of commits. The final commit message should be clear and concise. + + +If your PR contains large changes, e.g. component refactor or new components, please write detailed documents about its design and usage. + +### Code review guidance + +Committers will rotate reviewing the code to make sure all the PR will be reviewed timely and by at least one committer before merge. If we aren't doing our job (sometimes we drop things). And as always, we welcome volunteers for code review. + +Some principles: + +- Readability - Important code should be well-documented. API should have Javadoc. Code style should be complied with the existing one. + +- Elegance: New functions, classes or components should be well designed. + +- Testability - 80% of the new code should be covered by unit test cases. + +- Maintainability - Comply with our [PMD spec](https://github.com/alibaba/nacos/blob/develop/style/codeStyle.md), and 3-month-frequency update should be maintained at least. + + +### Now how about try become a committer? + +Generally speaking, contribute 8 non-trivial patches and get at least three different people to review them (you'll need three people to support you). Then ask someone to nominate you. You're demonstrating your: + +- at least 8 PR and the associated issues to the project, + +- ability to collaborate with the team, + +- understanding of the projects' code base and coding style, + +- ability to write good code (last but certainly not least) + + +A current committer nominates you by slacking the team on the Nacos issue with label "nomination" + +- your first and last name + +- a link to your Git profile + +- an explanation of why you should be a committer, + +- Elaborate the top 3 PR and the associated issues the nominator has worked with you that can demonstrate your ability. + + +Two other committer need to second your nomination. If no one objects in 5 working days (China), you're a committer. If anyone objects or wants more information, the committers discuss and usually come to a consensus (within the 5 working days). If issues cannot be resolved, there's a vote among current committers. + +![](http://acm-public.oss-cn-hangzhou.aliyuncs.com/nomination_process.png) + +In the worst case, this can drag out for two weeks. Keep contributing! Even in the rare cases where a nomination fails, the objection is usually something easy to address like "more patches" or "not enough people are familiar with this person's work." diff --git a/src/content/docs/v3.0/en/archive/feature-list.md b/src/content/docs/v3.0/en/archive/feature-list.md new file mode 100644 index 00000000000..da01c218d2b --- /dev/null +++ b/src/content/docs/v3.0/en/archive/feature-list.md @@ -0,0 +1,203 @@ +--- +title: Nacos功能和需求列表 +keywords: [Nacos,功能] +description: Nacos功能和需求列表 +--- + +# Nacos功能和需求列表 + +本文列举了目前Nacos支持的主要功能和一些还未支持的需求排期,方便读者了解目前Nacos已经支持和计划支持的能力,同时所有计划支持的能力都开放给开发者进行认领,本文末有详细的认领教程。 + +在下面的表格中,每个需求都有一个状态的标志,包含若干种取值,各种取值的含义如下: + +1. 状态的取值: + 1. 不支持:该功能还不支持,且没有在现在的时间表里有任何排期; + 1. 排期中:该功能还不支持,但是已经放到了时间表里,有希望在后面的某个版本支持; + 1. 设计中:表示该功能正在方案设计中,方案的草稿和终稿都会开放访问,供大家讨论; + 1. 开发中:表示该功能设计方案已经确定,正在有对应的开发者进行开发,会在接下来的某个版本正式发布; + 1. beta:该功能已经发布,但是未经过大规模的用户验证,还不能确保稳定性; + 1. 稳定:表示已经迭代至少4个版本,目前没有反馈重大缺陷; + + + +# 服务发现 +代码地址:[https://github.com/alibaba/nacos/tree/develop/naming](https://github.com/alibaba/nacos/tree/develop/naming) + +| 描述 | 主要开发者 | 状态 | 排期 | +| :---: | --- | --- | --- | +| 服务注册与发现 | nkorange | 稳定 | 0.1.0 | +| 健康检查(服务端探测、客户端心跳) | xuanyin | 稳定 | 0.1.0 | +| 路由策略(权重、保护阈值、就近访问) | wangjianwei | 稳定 | 0.1.0 | +| | | | | + + + +# 配置管理 +代码地址:[https://github.com/alibaba/nacos/tree/develop/config](https://github.com/alibaba/nacos/tree/develop/config) + +| 描述 | 主要开发者 | 状态 | 排期 | +| :---: | --- | --- | --- | +| 配置管理(发布、修改、查询、监听配置) | yanlinly | 稳定 | 0.1.0 | +| 灰度配置 | yanlinly | 稳定 | 1.1.0 | +| 加密配置 | | 不支持 | | + + + +# 元数据管理 +代码地址:[https://github.com/alibaba/nacos/tree/develop/cmdb](https://github.com/alibaba/nacos/tree/develop/cmdb) + +| 描述 | 主要开发者 | 状态 | 排期 | +| :---: | --- | --- | --- | +| 对接第三方CMDB | nkorange | beta | 0.7.0 | + + + +# 地址服务器 +代码地址:[https://github.com/alibaba/nacos/tree/develop/address](https://github.com/alibaba/nacos/tree/develop/address) + +| 描述 | 主要开发者 | 状态 | 排期 | +| :---: | --- | --- | --- | +| 支持Nacos寻址 | pbting | beta | 1.1.0 | + + + +# Nacos内核 +代码地址:[https://github.com/alibaba/nacos/tree/develop/core](https://github.com/alibaba/nacos/tree/develop/core) + +| 描述 | 主要开发者 | 状态 | 排期 | +| :---: | --- | --- | --- | +| 去除MySQL依赖 | chuntaojun | 设计中 | | +| Raft协议替换成JRaft | chuntaojun | 稳定 | 1.4.1 | +| 异步通知机制统一 | wfnuser | 设计中 | | +| 线程模块统一 | | 排期中 | | +| 传输通道统一 | nkorange | 设计中 | | +| 推送模块统一 | satjd | 设计中 | | +| 启动模块统一 | | 排期中 | | + + + +# 安全与稳定性 +代码地址:[https://github.com/alibaba/nacos](https://github.com/alibaba/nacos) + +| 描述 | 主要开发者 | 状态 | 排期 | +| :---: | --- | --- | --- | +| 命名空间模块下沉为公共模块 | | 排期中 | | +| 权限控制,包括认证与鉴权 | nkorange | 开发中 | 1.2.0 | +| 操作审计与记录 | | 排期中 | | +| 支持加密传输 | | 排期中 | | +| OpenTracing对接 | | 排期中 | | +| metrics收集 | TsingLiang | 稳定 | 0.8.0 | +| 缓存容灾机制统一 | | 排期中 | | +| 支持命令行运维 | | 排期中 | | +| 数据自动备份 | | 排期中 | | +| 限流模块 | | 排期中 | | +| 容量管理 | | 排期中 | | + + + +# 代码质量 +代码地址:[https://github.com/alibaba/nacos](https://github.com/alibaba/nacos) + +| 描述 | 主要开发者 | 状态 | 排期 | +| :---: | --- | --- | --- | +| 工具类模块统一 | | 排期中 | | +| 常量定义统一 | | 排期中 | | +| 异常处理模块统一 | | 排期中 | | +| 日志模块统一 | | 排期中 | | +| 系统参数模块统一 | | 排期中 | | +| 依赖统一 | | 排期中 | | +| 状态码模块统一 | KeRan213539 | 设计中 | | + + + +# 云原生 +| 描述 | 主要开发者 | 状态 | 排期 | +| :---: | --- | --- | --- | +| 对接Istio | nkorange | beta | 1.1.4 | +| 对接ConfigMap | | 排期中 | | +| [对接CoreDNS](https://github.com/nacos-group/nacos-coredns-plugin) | JianweiWang | beta | 0.1.0 | +| 对接SPIFFE | | 排期中 | | + + + +# 客户端 +客户端支持包含了目前已知的Nacos多语言客户端及Spring生态的相关客户端,除了Java客户端和Go客户端,其他均为社区热心贡献者开发,如果您有新的语言的客户端,或者有目前已经支持的语言的客户端的另外一个实现,欢迎在github上留言进行登记。 + +| 描述 | 主要开发者 | 状态 | +| :---: | --- | --- | +| [Java客户端](https://github.com/alibaba/nacos/tree/develop/client) | Nacos | 稳定 | +| [Go客户端](https://github.com/nacos-group/nacos-sdk-go) | atlanssia, lzp0412 | 稳定 | +| [Node.js客户端](https://github.com/nacos-group/nacos-sdk-nodejs) | czy88840616, gxcsoccer | 稳定 | +| [Python客户端](https://github.com/nacos-group/nacos-sdk-python) | sanwei | beta | +| [C#客户端](https://github.com/catcherwong/nacos-sdk-csharp) | catcherwong | 推荐 | +| C++客户端 | | | +| PHP客户端 | | | +| [Spring客户端](https://github.com/nacos-group/nacos-spring-project) | chuntaojun | 稳定 | +| [SpringBoot客户端](https://github.com/nacos-group/nacos-spring-boot-project) | chuntaojun | 稳定 | + + + +# Nacos-Docker +代码地址:[https://github.com/nacos-group/nacos-docker](https://github.com/nacos-group/nacos-docker) + +| 描述 | 主要开发者 | 状态 | 排期 | +| :---: | --- | --- | --- | +| Docker部署Nacos Server | paderlol | 稳定 | 0.1.0 | + + + +# Nacos-K8s +代码地址:[https://github.com/nacos-group/nacos-k8s](https://github.com/nacos-group/nacos-k8s) + +| 描述 | 主要开发者 | 状态 | 排期 | +| :---: | --- | --- | --- | +| K8s部署Nacos Server | paderlol | 稳定 | 0.1.0 | + + + +# Nacos-Sync +代码地址:[https://github.com/nacos-group/nacos-sync](https://github.com/nacos-group/nacos-sync) + +| 描述 | 主要开发者 | 状态 | 排期 | +| :---: | --- | --- | --- | +| Nacos与Nacos服务双向同步 | paderlol | 稳定 | 0.1.0 | +| Nacos与Zookeeper服务双向同步 | paderlol | 稳定 | 0.3.0 | +| Nacos与Eureka服务双向同步 | paderlol | 稳定 | 0.3.0 | +| Nacos与Consul服务双向同步 | paderlol | 稳定 | 0.3.0 | + + + +# Nacos官网 +代码地址:[https://github.com/nacos-group/nacos-group.github.io](https://github.com/nacos-group/nacos-group.github.io) + +| 描述 | 主要开发者 | 状态 | 排期 | +| :---: | --- | --- | --- | +| 支持页面内锚链接 | | 不支持 | | + + + + +# 参与共建 + +### 参与共建能得到什么? +参与Nacos共建,你将有机会让你的代码被全中国甚至全世界的用户阅读并使用,同时在成为Nacos Committer后(如何成为Nacos Committer可以参考[手册](https://github.com/alibaba/nacos/blob/develop/CONTRIBUTING.md)),还可以有以下福利: + +- 在Nacos官网[团队页](https://nacos.io/docs/latest/community/nacos-dev/)留名; +- 收到我们带Nacos logo的小礼物,有T恤、水杯、帽衫等等; +- 代表Nacos参加各种线上线下活动,与更多小伙伴交流; +- 更多我们还在筹划中的福利; + + +### 如何共建 +除了在上面列举的功能和需求,其他的在github仓库上打上了[contribution welcome](https://github.com/alibaba/nacos/issues?q=is%3Aopen+is%3Aissue+label%3A%22contribution+welcome%22)或者[help wanted](https://github.com/alibaba/nacos/issues?q=is%3Aopen+is%3Aissue+label%3A%22help+wanted%22)标签的issue,也非常欢迎大家提交代码贡献。加入Nacos 社区核心贡献小组钉钉群23335652,联系群管理员认领需求。 + +大家提PR的时候有几点需要注意下: + +1. 比较重大的特性需要有方案文档:[https://github.com/alibaba/nacos/issues/858](https://github.com/alibaba/nacos/issues/858) +1. 已经阅读并遵守共建规范: [https://github.com/alibaba/nacos/blob/master/CONTRIBUTING.md](https://github.com/alibaba/nacos/blob/master/CONTRIBUTING.md) +1. 使用github账户提交代码,这样大家才会在contributor列表看到自己的名字; +1. commit信息要带上issue id,这样才能在issue里看到PR的进度; +1. 代码中不要出现中文注释,提交前要格式化,并添加必要的集成测试用例和单元测试用例; +1. 提PR前运行mvn -Prelease-nacos clean install -U和mvn clean install -Pit-test成功; + +任务认领原则:每人一次最多领取两个任务,任务PR合并后,即可开始认领下个任务。 diff --git a/src/content/docs/v3.0/en/archive/roadmap.md b/src/content/docs/v3.0/en/archive/roadmap.md new file mode 100644 index 00000000000..708ef8dedea --- /dev/null +++ b/src/content/docs/v3.0/en/archive/roadmap.md @@ -0,0 +1,42 @@ +--- +title: Nacos roadmap +keywords: [Nacos,roadmap] +description: Nacos roadmap +--- + +# Nacos roadmap + +We plan to make Nacos available for production from Nacos 0.8.0. Prior to this release, we recommend that you use it only in development and test environments. +Our current plan is to strive to make Nacos production ready in the 6-8 months. The plan might be adjusted due to various factors, including the priority adjustment according to the voice of the community, but the overall plan is that it should not take longer than one year. + +Below are the main roadmaps and plans for the next year. + +## Nacos 1.0 + +Main goals: + +* Build a simple and easy to use, service related set of tools, including the service discovery, configuration management, service metadata storage, push, consistency and metadata management etc; + +* Seamless integration with and support for open-source ecosystems including [Spring Cloud](https://github.com/alibaba/spring-cloud-alibaba)、[Kubernetes](https://github.com/kubernetes/kubernetes)、[Dubbo](https://github.com/apache/dubbo) etc., while at the same time developing a variety of excellent features for large-scale production. + +The following is a rough version plan: + +* 0.1 Basic Nacos server and simple OpenAPI and Java SDK; +* 0.2 - 0.3 Seamless support for Kubernetes, Service Mesh and Spring Cloud service discovery and configuration management; +* 0.4 - 0.5 Build an easy-to-use Web UI/User Console; +* 0.6 - 0.7 High availability, ease of use, monitoring and alert etc; +* 0.8 Production ready; +* 0.9 Large scale performance tuning and benchmark; +* 1.0 GA for large scale production. + +## Nacos 2.0 + +Mainly focus on the unified service management, service sharing and service management system of the open service platform construction, mainly includes two aspects: + +* Dubbo 4.0 + Nacos 2.0: An Open-Service Platform + +![Screen Shot 2018-07-11 at 22.32.17.png | left](https://cdn.yuque.com/lark/0/2018/png/15914/1531319724777-d19b0304-535c-4af9-bee1-f358b6e55d91.png "") + +* Kubernetes + Spring Cloud: Unified Service Management + +![Screen Shot 2018-07-11 at 22.35.30.png | left](https://cdn.yuque.com/lark/0/2018/png/15914/1531319755930-0040e67e-ca05-47b9-9cd0-07ffd7452eae.png "") \ No newline at end of file diff --git a/src/content/docs/v3.0/en/archive/sdk-properties.md b/src/content/docs/v3.0/en/archive/sdk-properties.md new file mode 100644 index 00000000000..dd03fe72f90 --- /dev/null +++ b/src/content/docs/v3.0/en/archive/sdk-properties.md @@ -0,0 +1,50 @@ +--- +title: Nacos 客户端初始化说明 +keywords: [Nacos,客户端,初始化] +description: Nacos 客户端初始化说明 +--- + +Nacos 客户端初始化说明 + +``` + public final static String ENDPOINT = "endpoint"; + public final static String NAMESPACE = "namespace"; + public final static String ACCESS_KEY = "accessKey"; + public final static String SECRET_KEY = "secretKey"; + public final static String SERVER_ADDR = "serverAddr"; + public final static String CONTEXT_PATH = "contextPath"; + public final static String CLUSTER_NAME = "clusterName"; + public final static String ENCODE = "encode"; + +``` +一、客户端可以通过两种方式初始化(二选一,必传) + +1. 通过直接传入Nacos server端信息(ip:port,或者域名)方式 + + `` + SERVER_ADDR server地址,格式为“ip1:port,ip2.port” + `` +2. 通过接入点进行接入获取环境信息 + + ``` + ENDPOINT 接入点 + CLUSTER_NAME 集群名字 + ``` + +二、链接的server的路径(非必传) + +``` +CONTEXT_PATH server根路径 (默认值 nacos) +``` +三、区域隔离(非必传) + +``` +NAMESPACE 名称区域 +``` + +四、鉴权参数(非必传) + +``` +ACCESS_KEY 公钥 +SECRET_KEY 私钥 +``` diff --git a/src/content/docs/v3.0/en/archive/use-nacos-with-istio.md b/src/content/docs/v3.0/en/archive/use-nacos-with-istio.md new file mode 100644 index 00000000000..36a05c3dd3a --- /dev/null +++ b/src/content/docs/v3.0/en/archive/use-nacos-with-istio.md @@ -0,0 +1,7 @@ +--- +title: Nacos Istio +keywords: [Nacos,Istio] +description: In plan with Nacos 1.x.x +--- + +**IN PLAN** with Nacos 1.x.x \ No newline at end of file diff --git a/src/content/docs/v3.0/en/archive/use-nacos-with-springcloud.md b/src/content/docs/v3.0/en/archive/use-nacos-with-springcloud.md new file mode 100644 index 00000000000..30b9fcc317d --- /dev/null +++ b/src/content/docs/v3.0/en/archive/use-nacos-with-springcloud.md @@ -0,0 +1,19 @@ +--- +title: Nacos Spring Cloud +keywords: [nacos,Spring Cloud] +description: Nacos Spring Cloud +--- + +# Nacos Spring Cloud + +## Examples + +* [Nacos Config Example](https://github.com/alibaba/spring-cloud-alibaba/blob/master/spring-cloud-alibaba-examples/nacos-example/nacos-config-example/readme.md) +* [Nacos Discovery Example](https://github.com/alibaba/spring-cloud-alibaba/blob/master/spring-cloud-alibaba-examples/nacos-example/nacos-discovery-example/readme.md) + +## Related Projects + +* [Nacos](https://github.com/alibaba/nacos) +* [Nacos Spring](https://github.com/nacos-group/nacos-spring-project) +* [Nacos Spring Boot](https://github.com/nacos-group/nacos-spring-boot-project) +* [Spring Cloud Alibaba](https://github.com/alibaba/spring-cloud-alibaba) \ No newline at end of file diff --git a/src/content/docs/v3.0/en/community/community.md b/src/content/docs/v3.0/en/community/community.md new file mode 100644 index 00000000000..3dfb43b612e --- /dev/null +++ b/src/content/docs/v3.0/en/community/community.md @@ -0,0 +1,30 @@ +--- +title: Community +keywords: [community,contact] +description: Community +sidebar: + order: 1 +--- + +# Community + +## Contact us + +### Nacos Gitter-[https://gitter.im/alibaba/nacos](https://gitter.im/alibaba/nacos) +### Nacos weibo-[https://weibo.com/u/6574374908](https://weibo.com/u/6574374908) +### Nacos segmentfault-[https://segmentfault.com/t/nacos](https://segmentfault.com/t/nacos) + +### Mailing list + +Mailing list is recommended for discussing almost anything related to Nacos. Please refer to this?[guide](https://github.com/apache/incubator-dubbo/wiki/Mailing-list-subscription-guide)?for detailed documentation on how to subscribe to our mailing lists. + +* [dev-nacos@googlegroups.com](mailto:dev-nacos%2Bsubscribe@googlegroups.com): The develop mailing list. You can ask questions here if you encounter any problem when using or developing Nacos. +* [commits-nacos@googlegroups.com](mailto:commits-nacos%2Bsubscribe@googlegroups.com): All commits will be sent to this mailing list. You can subscribe to it if you are interested in Nacos' development. +* [users-nacos@googlegroups.com](mailto:users-nacos%2Bsubscribe@googlegroups.com): All Github?[issue](https://github.com/alibaba/nacos/issues)?updates and?[pull request](https://github.com/alibaba/nacos/pulls)?updates will be sent to this mailing list. +* [nacos_dev@linux.alibaba.com](mailto:nacos_dev@linux.alibaba.com). + +### Nacos DingDing group + +Welcome to join Nacos community nail group + +![nacos_dingding.jpg](/img/nacos_dingding.jpg) \ No newline at end of file diff --git a/src/content/docs/v3.0/en/community/nacos-dev.md b/src/content/docs/v3.0/en/community/nacos-dev.md new file mode 100644 index 00000000000..56446187538 --- /dev/null +++ b/src/content/docs/v3.0/en/community/nacos-dev.md @@ -0,0 +1,101 @@ +--- +title: Developers +keywords: [nacos,developers,committer,pmc,nacos team] +description: Nacos developers page +sidebar: + order: 2 +--- + +# Developers + +## Nacos Developer Roles + +Nacos developers include three roles: Maintainer, Committer, and Contributor. The standard definitions for each role are as follows. + +### Maintainer + +Maintainer is an individual who has made a significant contribution to the evolution and development of the Nacos project, including projects under the nacos-group. Specifically includes the following criteria: + +* Completing the design and development of multiple key modules or projects, is an core developer of the project +* Continuous investment and passion, can actively participate in the maintenance of related matters such as community, official website, issue, PR, etc. +* Has a visible influence in the community and is able to represent Nacos in important community meetings and events +* Have the consciousness and ability to cultivate Committer and Contributor + +### Committer + +Committer is an individual with write access to the Nacos repository and includes the following criteria: + +* An individual who can contribute to the issue and PR continuously for a long time; +* Participate in the maintenance of the issue list and discussion of important features; +* Participate in code review; + +### Contributor + +Contributor is an individual who contributes to the Nacos project. The standard is: + +* Submitted a PR that is merged; + + +### Nacos Developer Rights and Obligations + +![image.png](https://cdn.nlark.com/yuque/0/2019/png/333810/1560152742873-65f7dbcb-38cf-4840-aa9c-5c6cfa926cec.png#align=left&display=inline&height=502&name=image.png&originHeight=751&originWidth=1113&size=235532&status=done&width=744) + +## Nacos Team + +This page shows Nacos developers and continues to expand. The list is not prioritized. + +### Committers + +| Github ID | Name | Organization | Roles | Mail | +|------------------------------------------------ |---------------|------------------------------------| -----------| ------------------------------------------------------------ | +| [xuechaos](https://github.com/xuechaos) | Xuechao Xing | Alibaba | Maintainer | xingxuechao@alibaba-inc.com | +| [yanlinly](https://github.com/yanlinly) | Yanlin Li | Alibaba | Maintainer | yan.lin2009@163.com | +| [loadchange](https://github.com/loadchange) | Yanmin Wang | ele | Maintainer | wym177771@alibaba-inc.com | +| [nkorange](https://github.com/nkorange) | Pengfei Zhu | Shopee | Maintainer | zpf.073@gmail.com | +| [chuntaojun](https://github.com/chuntaojun) | Chuntao Liao | Tencent | Maintainer | liaochuntao@live.com | +| [paderlol](https://github.com/paderlol) | Pader Zhang | Shareworks | Maintainer | huangbbbaihao@gmail.com | +| [KomachiSion](https://github.com/KomachiSion) | Yi Yang | Alibaba | Maintainer | yangyi@apache.org | +| [sanxun0325](https://github.com/sanxun0325) | Binbin Zhang | DiDi | Maintainer | bbz17640380550@163.com | +| [zhangjimmy](https://github.com/zhangjimmy) | Bo Zhang | Huya | Committer | zhangjimmy@foxmail.com | +| [nanamikon](https://github.com/nanamikon) | Jian Zhou | Huya | Committer | nanamikon@gmail.com | +| [lzp0412](https://github.com/lzp0412) | Zhipeng Li | Ant Financial | Committer | 641785844@qq.com | +| [pguo65535](https://github.com/pguo65535) | Ping Guo | Alibaba | Committer | guoping.gp@alibaba-inc.com | +| [hxy1991](https://github.com/hxy1991) | Xiaoyu Huang | Alibaba | Committer | huangxiaoyu1018@gmail.com | +| [mingyixu](https://github.com/mingyixu) | Xiaochun Xu | Alibaba | Committer | xiaochun.xxc@alibaba-inc.com | +| [JianweiWang](https://github.com/JianweiWang) | Jianwei Wang | Alibaba | Committer | wangjianwei.nwpu@gmail.com | +| [jameslcj](https://github.com/jameslcj) | Chen li | Alibaba | Committer | zhichen.lc@alibaba-inc.com | +| [mercyblitz](https://github.com/mercyblitz) | Mercy Ma | Alibaba | Committer | taogu.mxx@alibaba-inc.com | +| [fangjian0423](https://github.com/fangjian0423) | Jian Fang | Alibaba | Committer | fangjian.fj@alibaba-inc.com | +| [wyp12](https://github.com/wyp12) | Yuanpiao Wu | Alibaba | Committer | caogu.wyp@antfin.com | +| [TsingLiang](https://github.com/TsingLiang) | Liang qing | Alibaba | Committer | qingliang.ql@alibaba-inc.com | +| [caojiele](https://github.com/caojiele) | Jiele Cao | Sinocare | Committer | caojiele1225@126.com | +| [KeRan213539](https://github.com/KeRan213539) | Ying Xie | ShengDa | Committer | 213539@qq.com | +| [zongtanghu](https://github.com/zongtanghu) | Zongtang Hu | China Mobile Cloud Centre | Committer | zongtanghu@hotmail.com | +| [Maijh97](https://github.com/Maijh97) | Jianhui Mai | Yunliuchain | Committer | xiaomai_h@163.com | +| [wangweizZZ](https://github.com/wangweizZZ) | Wei Wang | China Mobile Cloud Centre | Committer | wwfortunate@gmail.com | +| [horizonzy](https://github.com/horizonzy) | Yan Zhao | Dmall(Cheng Du) | Committer | 1060026287@qq.com | +| [catcherwong](https://github.com/catcherwong) | Wenqing Huang | Lianou Health Technology | Committer| catcher_hwq@outlook.com | +| [TTTTTAAAAAKKKKEEEENNNN](https://github.com/TTTTTAAAAAKKKKEEEENNNN) | Hanyu Liu | Tencent | Committer | tensai0lhy@gmail.com | +| [haoyann](https://github.com/haoyann) | Hao Yan | Shusheng Chengdu Technology | Committer | 1064645534@qq.com | +| [shiyiyue1102](https://github.com/shiyiyue1102) | Zunfei Liu | Alibaba | Committer | liuzunfei@gmail.com | +| [JackSun-Developer](https://github.com/JackSun-Developer) | Li Sun | Alibaba | Committer | yongyue.sl@alibaba-inc.com | +| [brotherlu-xcq](https://github.com/brotherlu-xcq) | Lu Cheng | KuJiaLe | Committer | 1285823170@qq.com | +| [li-xiao-shuang](https://github.com/li-xiao-shuang) | XiaoShuang Li | DiDi | Committer | 644968328@qq.com | +| [MajorHe1](https://github.com/MajorHe1) | Fan He | WeBank | Committer | 601023364@qq.com | +| [hujun-w-2](https://github.com/hujun-w-2) | Jun Hu | Xiaomi | Committer | 510830970@qq.com | +| [onewe](https://github.com/onewe) | Wenchao Mao | Independent developer | Committer | 2583021406@qq.com | +| [chenhao26-nineteen](https://github.com/chenhao26-nineteen)| Hao Chen | Xiaomi | Committer | hashmap2018@163.com | +| [shenkonghui](https://github.com/shenkonghui) | Konghui Shen | Harmony Cloud | Committer | shenkh1992@gmail.com | +| [CherishCai](https://github.com/CherishCai) | Hongwen Cai | Ant Financial | Committer | 785427346@qq.com | +| [The-Gamer-01](https://github.com/The-Gamer-01) | Yixuan Huang | Jishou University | Committer | 19974361760@163.com | +| [Karsonto](https://github.com/karsonto) | Karson | ICBC (Asia) | Committer | karsontao@hotmail.com | +| [Daydreamer-ia](https://github.com/Daydreamer-ia) | Yiqin Chen | Guangdong University of Technology | Committer | 2296032269@qq.com | +| [shalk](https://github.com/shalk) | Kun Xiao | NASDAQ:TIGR | Committer | xshalk@163.com | +| [heqingpan](https://github.com/heqingpan) | Qingpan He | Aicheng Technology | Committer | heqingpan@126.com | +| [godhth](https://github.com/godhth) | Tianhui Huang | CE Cloud | Committer | 1165559068@qq.com | + +### Contributors + +| Github ID | Name | Organization | Roles | Mail | +|-------------------------------------------|--------------------|------------------------------|-------------|---------------------------| +| [wfnuser](https://github.com/wfnuser) | Qinghao Huang | ByteDance | Contributor | wfnuser@hotmail.com | diff --git a/src/content/docs/v3.0/en/concepts.md b/src/content/docs/v3.0/en/concepts.md new file mode 100644 index 00000000000..8f980b59078 --- /dev/null +++ b/src/content/docs/v3.0/en/concepts.md @@ -0,0 +1,101 @@ +--- +title: Nacos Concepts +keywords: [Nacos,Concepts] +description: Nacos Concepts +--- + +# Nacos Concepts + +> NOTE: Nacos introduces some basic concepts and systematic understanding of these concepts can help you better understand and correct use Nacos products. + +## Region + +Physical data centers, unalterable after resources are created. + +## Available Zone + +Physical areas with independent power grids and networks in one region. The network latency for instances in the same zone is lower. + +## Endpoint + +The entry domain name of a service in each region. + +## Namespace + +For configuration isolation by tenants. Different namespaces may have configurations with the same Group or Data ID. One of the common scenarios for namespace is to differentiate and isolate the configurations in different environments, as in development and test environment and production environment. + +## Configuration + +During system development, developers usually extract some parameters or variables that need to be changed from the code and manage them in a separate configuration file. This enables the static system artifacts or deliverables (such as WAR and JAR packages) to fit with the physical operating environment in a better way. Configuration management is usually a part of system deployment, which is executed by the administrator or operation and maintenance personnel. Configuration modification is an effective way to adjust the behavior of a running system. + +## Configuration Management + +Configuration-related activities including editing, storage, distribution, modification management, release version management, and modification audit. + +## Configuration Item + +A specific configurable parameter with its value range, generally in the form of param-key=param-value. For example, the log output level (logLevel=INFO|WARN|ERROR) of a system is regarded as a configuration item. + +## Configuration Set + +A collection of related or unrelated configuration items.In a system, a configuration file is generally a configuration set which contains all the configurations of the system. For example, a configuration set may contain configuration items such as data sources, thread pools, and log levels. + +## Data ID + +The ID of a configuration set in Nacos. It is one of the dimensions according to which configurations are organized. Data ID is generally used to organize the system configuration sets. A system or application can contain multiple configuration sets, each of which can be identified by a meaningful name. The Data ID usually uses the naming rule similar to Java packages (for example, com.taobao.tc.refund.log.level) to ensure global uniqueness. This naming rule is not mandatory. + +## Group + +The group of configuration sets in Nacos. It is one of the dimensions according to which configurations are organized. The configuration sets are always grouped by a meaningful string such as Buy or Trade to differentiate the configuration sets with the same Data ID. When you create a configuration on Nacos, the group name is replaced by DEFAULT\_GROUP by default if not specified. A typical scenario of Group is when the same configuration type is used for different applications or components, such as database\_url configuration and MQ\_topic configuration. + +## Configuration Snapshot + +The Nacos client SDK can generate snapshots of configurations on local machines. Snapshots can be used to indicate the overall disaster recovery capabilities of the system when the client cannot connect to the Nacos server. Configuration snapshot is similar to local commit in Git, or cache, which is updated at the appropriate time, but does not have the notion of expiration as in cache. + +## Service + +Software functions which are provided to the client via the network through a predefined interface. + +## Service Name + +Identifier provided by the service, by which the service it refers to can be uniquely determined. + +## Service Registry + +Database which stores the instances of services and the load balancing policies for services. + +## Service Discovery + +On a computer network, the address and metadata of an instance under the service are probed (usually using a service name) and provided to the client for querying with a predefined interface. + +## Metadata + +Custom configuration information, such as a disaster recovery policy, a load balancing policy, an authentication configuration, and various tags. From the scope of action, it is divided into meta-information of service level, meta-information of virtual cluster, and meta-information of instance. + +## Application + +Property of service which can be used to identify the service provider. + +## Service Group + +Different services can be categorized into the same service group. + +## Virtual Cluster + +Service instances under the same service can be further classified. One possible unit of this classification is Virtual Cluster. + +## Instance + +A process with an accessible network address (IP:Port) that provides one or more services. + +## Weight + +Instance-level configuration. Weight is a floating-point number. The greater the weight, the greater the traffic that the instance expects to be allocated. + +## Health Check + +Health check of the instances under a service in a specified manner to ensure that the instances can work properly. Instances are judged to be healthy or unhealthy according to the inspection results. Unhealthy instances are not returned to the client when initiating a resolution request to the service. + +## Protect Threshold + +To prevent traffic from flowing to healthy instances because of some unhealthy instances, which causes traffic pressure, healthy instance collapse, and finally an avalanche, the health protection threshold should be defined as a floating point number between 0 and 1. When the proportion of the domain name healthy instance to the total instance is smaller than this value, the instance is returned to the client regardless of the health of the instance. Although this can result in a loss of some of the traffic, we ensure that the remaining healthy instances can work normally. diff --git a/src/content/docs/v3.0/en/contribution/contributing-flow.md b/src/content/docs/v3.0/en/contribution/contributing-flow.md new file mode 100644 index 00000000000..88ce07fb0f7 --- /dev/null +++ b/src/content/docs/v3.0/en/contribution/contributing-flow.md @@ -0,0 +1,107 @@ +--- +title: Contributing Flow +keywords: [Contributing,Source Code] +description: This contribution flow is applicable to all Nacos community content, including but not limited to Nacos, Nacos wiki/doc, Nacos SDK. +sidebar: + order: 2 +--- + +# Nacos Contributing Flow + +This contribution flow is applicable to all Nacos community content, including but not limited to `Nacos`, `Nacos wiki/doc`, `Nacos SDK`. + +The following use contributing `Nacos` as an example to explain the contribution flow in detail. + +## 1. Fork Alibaba/Nacos repository to your Github. + +## 2. Clone your fork Nacos repository to local. + +``` +git clone ${your fork nacos repo address} + +cd nacos +``` + +## 3. Add Alibaba/Nacos repository as upstream repo. + +``` +git remote add upstream https://github.com/alibaba/nacos.git + +git remote -v + + origin ${your fork nacos repo address} (fetch) + origin ${your fork nacos repo address} (push) + upstream https://github.com/alibaba/nacos.git (fetch) + upstream https://github.com/alibaba/nacos.git (push) + +git fetch origin +git fetch upstream +``` + +## 4. Choose a basic branch of development usually upstream/develop,and create a new branch based on it. + +``` +(checkout branch from remote repo to local) +git checkout -b upstream-develop upstream/develop + +(Create a development branch from the local branch, usually using the issue number as the development branch name) +git checkout -b develop-issue#${issue-number} + +``` + +## 5. Do your change in your local develop branch. + +First please make sure you read and set the `Nacos code style` correctly, please read the related content [Code of Conduct](https://github.com/alibaba/nacos/blob/develop/style/codeStyle.md). + +When making changes, please ensure that the changes on this branch are **only relevant to the issue**, and try to be as small as possible, so that **only one thing is modified in one branch, and only one thing is modified in one PR**. + +At the same time, please use your English description as much as possible for your commits. It is mainly described by **predicate + object**, such as: `Fix xxx problem/bug`. + +Some simple commits can be described using `For xxx`, such as: `For codestyle`. + +If the commits is related to an ISSUE, you can add the ISSUE number as a prefix, such as: `For #10000, Fix xxx problem/bug`. + +## 6. Rebase develop branch + +When you make changes, other people's changes may have commited and merged. At this time, there may be conflicts. Please use the rebase command to merge and resolve. There are two main benefits: + +1. Your submission record will be very clean, without the words `Merge xxxx branch`. +2. After rebase, the commit log of your branch is also a single chain, it is easier to check back. + +``` +git fetch upstream + +git rebase -i upstream/develop + +``` + +OR + +``` +git checkout upstream-develop +git pull +git checkout develop-issue#${issue-number} +git rebase -i upstream-develop +``` + +**If you are using Intellij IDEA**, it is recommended to use the IDE version control, which has a more convenient visual panel to resolve conflicts and squash operations. + +## 7. Push your develop branch to your fork repository. + +``` +git push origin develop-issue#${issue-number} +``` + +## 8. Create Pull Request according to the pull request template + +[pull request template](./pull-request.md) + +The Nacos community will review your Pull Request and may propose comments. + +You can return to step 5 to modify code according to the comments and use step 6 to resubmit. + +**If you are prompted that there are conflicts when you push to fork repo again, Force push to your fork branch will be ok.** The reason of conflicts is that the commit ID has changed after you rebase with others changes. + + +## 9. If no more problem, Nacos community will merge your PR. Congratulations for you becoming a official contributor of Nacos. + diff --git a/src/content/docs/v3.0/en/contribution/contributing.md b/src/content/docs/v3.0/en/contribution/contributing.md new file mode 100644 index 00000000000..227b5311ecf --- /dev/null +++ b/src/content/docs/v3.0/en/contribution/contributing.md @@ -0,0 +1,102 @@ +--- +title: How to Contribute +keywords: [contribute,code] +description: We are always very happy to have contributions, whether for trivial cleanups or big new features. +sidebar: + order: 1 +--- + +# How to Contribute + +Nacos is released under the non-restrictive Apache 2.0 license, and follows a very standard Github development process, using Github tracker for issues and merging pull requests into master. If you want to contribute even something trivial, please do not hesitate, but follow the guidelines below. + +We are always very happy to have contributions, whether for trivial cleanups or big new features. +We want to have high quality, well documented codes for each programming language. + +Nor is code the only way to contribute to the project. We strongly value documentation, integration with other project, and gladly accept improvements for these aspects. + +## Contact us + +##### Nacos Gitter- [https://gitter.im/alibaba/nacos](https://gitter.im/alibaba/nacos) +##### Nacos weibo- [https://weibo.com/u/6574374908](https://weibo.com/u/6574374908) +##### Nacos segmentfault- [https://segmentfault.com/t/nacos](https://segmentfault.com/t/nacos) + +#### Mailing list + +Mailing list is recommended for discussing almost anything related to Nacos. Please refer to this?[guide](https://github.com/apache/incubator-dubbo/wiki/Mailing-list-subscription-guide)?for detailed documentation on how to subscribe to our mailing lists. + +* [dev-nacos@googlegroups.com](mailto:dev-nacos%2Bsubscribe@googlegroups.com): The develop mailing list. You can ask questions here if you encounter any problem when using or developing Nacos. +* [commits-nacos@googlegroups.com](mailto:commits-nacos%2Bsubscribe@googlegroups.com): All commits will be sent to this mailing list. You can subscribe to it if you are interested in Nacos' development. +* [users-nacos@googlegroups.com](mailto:users-nacos%2Bsubscribe@googlegroups.com): All Github?[issue](https://github.com/alibaba/nacos/issues)?updates and?[pull request](https://github.com/alibaba/nacos/pulls)?updates will be sent to this mailing list. +* [nacos_dev@linux.alibaba.com](mailto:nacos_dev@linux.alibaba.com). + +## Contributing Code + +### Notice + +To submit a change for inclusion, please do the following: + +#### Read Nacos [Code of Conduct](https://github.com/alibaba/nacos/blob/develop/style/codeStyle.md), and make sure your IDE has set code style and install plugin. + +#### If the change is non-trivial, please include unit tests that cover the new functionality. + +#### If you are introducing a completely new feature or API, it is a good idea to start a wiki and get consensus on the basic design first. + +### Contribution flow + +This is a rough outline of what a contributor's workflow looks like: + +* Fork the current repository. +* Create a topic branch from where to base the contribution. This is usually the master branch. +* Make commits of logical units. +* Make sure commit messages are in the proper format (see below). +* Push changes in a topic branch to your forked repository. +* Follow the checklist in the [pull request template](./pull-request.md). +* Before you send the pull request, please sync your forked repository with remote repository. This will make your pull request simple and clear. See guide below: +``` +git remote add upstream git@github.com:alibaba/nacos.git +git fetch upstream +git rebase upstream/master +git checkout -b your_awesome_patch +... add some work +git push origin your_awesome_patch +``` +* Submit a pull request to alibaba/nacos and wait for reply. + +* Detail contribution flow see [Contribution Flow](./contributing-flow.md) + +Thanks for contributing! + +## Contributing Document + +### Notice + +When contributing documents, please confirm and check the following: + +#### Has been confirmed that the document is indeed wrong or missing. + +#### Familiar with [Markdown](https://www.markdownguide.org/getting-started) + +#### Familiar with [docsite](https://github.com/txd-team/docsite), at least be able to complete local debugging according to the [document README.md](https://github.com/nacos-group/nacos-group.github.io). + +## Becoming a Committer + +We are always interested in adding new contributors. What we look for are series of contributions, good taste and ongoing interest in the project. If you are interested in becoming a committer, please let one of the existing committers know and they can help you walk through the process. + +Nowadays, we have several important contribution points: + +#### Wiki & JavaDoc +#### Nacos Console +#### Nacos SDK(C++\.Net\PHP\Python\Go\Node.js) + +#### Prerequisites + +If you want to contribute to the above listing points, you must abide by the prerequisites listed below: + +##### Readability - APIs as well as important methods must have Javadoc. + +##### Testability - Ensure over 80% unit test coverage for main processes. + +##### Maintainability - Comply with our [Code of Conduct](https://github.com/alibaba/nacos/blob/develop/style/codeStyle.md), with an update frequency at least once every 3 months. + +##### Deployability - We encourage you to deploy into [maven repository](http://search.maven.org/). diff --git a/src/content/docs/v3.0/en/contribution/how-to-reporting-bugs.md b/src/content/docs/v3.0/en/contribution/how-to-reporting-bugs.md new file mode 100644 index 00000000000..bfe00fd895f --- /dev/null +++ b/src/content/docs/v3.0/en/contribution/how-to-reporting-bugs.md @@ -0,0 +1,32 @@ +--- +title: How to report bugs +keywords: [nacos,submit,reporting bugs] +description: How to report bugs +sidebar: + order: 4 +--- + +# Reporting bugs + +If any part of the Nacos project has bugs or documentation mistakes, please let us know by [opening an issue](https://github.com/alibaba/nacos/issues/new). We treat bugs and mistakes very seriously and believe no issue is too small, anyOne is implement. Before creating a bug report, please check that an issue reporting the same problem does not already exist. + +To make the bug report accurate and easy to understand, please try to create bug reports that are: + +- Specific. Include as much details as possible: which version, what environment, what configuration, etc. If the bug is related to running the Nacos server, please attach the Nacos log (the starting log with Nacos configuration is especially important). + +- Reproducible. Include the steps to reproduce the problem. We understand some issues might be hard to reproduce, please includes the steps that might lead to the problem. If possible, please attach the affected Nacos data dir and stack strace to the bug report. + +- Unique. Do not duplicate existing bug report. + + +It may be worthwhile to read [Elika Etemad’s article on filing good bug reports](http://fantasai.inkedblade.net/style/talks/filing-good-bugs/) before creating a bug report. + +We might ask for further information to locate a bug. A duplicated bug report will be closed. + +[nacos-issue](https://github.com/alibaba/nacos/issues/new) + +[filing-good-bugs](http://fantasai.inkedblade.net/style/talks/filing-good-bugs/) + +# Reporting security bugs + +If you find any security problem in the Nacos project, please let us know through [ASRC (Alibaba Security Response Center)](https://security.alibaba.com). diff --git a/src/content/docs/v3.0/en/contribution/pull-request.md b/src/content/docs/v3.0/en/contribution/pull-request.md new file mode 100644 index 00000000000..b00b6ff00d2 --- /dev/null +++ b/src/content/docs/v3.0/en/contribution/pull-request.md @@ -0,0 +1,32 @@ +--- +title: Pull request template +keywords: [pull request,template] +description: Pull request template +sidebar: + order: 3 +--- + +# Pull request template + +Please do not create a Pull Request without creating an issue first. + +## What is the purpose of the change + +XXXXX + +## Brief changelog + +XX + +## Verifying this change + +XXXX + +Follow this checklist to help us incorporate your contribution quickly and easily: + +* [ ] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue. +* [ ] Format the pull request title like `[ISSUE #123] Fix UnknownException when host config not exist`. Each commit in the pull request should have a meaningful subject line and body. +* [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why. +* [ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in [test module](https://github.com/apache/rocketmq/tree/master/test). +* [ ] Run `mvn -B clean apache-rat:check findbugs:findbugs` to make sure basic checks pass. Run `mvn clean install -DskipITs` to make sure unit-test pass. Run `mvn clean test-compile failsafe:integration-test` to make sure integration-test pass. +* [ ] If this contribution is large, please file an [Apache Individual Contributor License Agreement](http://www.apache.org/licenses/#clas). \ No newline at end of file diff --git a/src/content/docs/v3.0/en/ecology/img/k8s-sync.jpg b/src/content/docs/v3.0/en/ecology/img/k8s-sync.jpg new file mode 100644 index 0000000000000000000000000000000000000000..78205dd947923f6970e7698c1e5b83132f0e7c48 GIT binary patch literal 149811 zcmdqJbyStxyEY6
=RLWg7cK_9xWPL(Y*l1N(NtFea!|{Y;^S~ssMkDFDWBmSX)z)1qp9*sZ3(>
ze_OBJndI9@WRKYxAOC8zA;5m|^$N=4kIXnm-)^87UbkrsMV;I|d@shkPEQF_6~6MT
zKDH~=HyRuJ9!e hQsZACy7-}
zy@k4!nx7QCO2y=KLzv(9e56G%61^WUlanOG)9d9I=~SnHJ!~<&iK1}yCn~>!gu^M$
z79}~6dJO$D0vVF^GFz3u7TPc+B?72}d8k}W6ALMPe`37!qfBqr?~{q)v3?2cBw-o$
zn4#l*N#3KKZG+>6eRik1Q%G_=Mr-9(Gby90g@@2mT3GSy@YthnZZ?=Ul|CKJje$lm
zb;D)qgduhCV39ma(J%SSOFxt%SHC>T(6wyEFVgOlM8P%>*aXD6qSe{~chiYdq#43R
zy2sMz=9g<7PhS&?o)Nh4@9EW#{CpTFKHVj9jZB4bRcXAC=U3ff6RZDV^Pi*Fhl{Xu
zRMvO3gB4s@A}A0`oXEJtxB4Zc>S~U*<3|R;y=-|S;@b?lAuO^a5v~4;OWmnF@`h~m
z#?rpiUaiwOnl$C3uW}LV22>C4Aqf3CvAe>7k1vlwN-g+tsUTkY+c)JZ`U$@)-rh;N
z;EzBT6hr9;$Pk%Anw=h{i?Hm)NNF>1%ZmFPg8vg=hpJ|~osm;oB1%@<@~ctgS1N=t
z19=AqoByl|Q*VB^q9mDWMJ)gtKDVs^J(;Pqb%%a(msLf=Ec_1fp(HuF-WnOh1p3I<
zv{IyTT)IU$l9svj$CIWudc=EwON(uq;x~BGkCc_&oi%AAPI+heLs)YBb&fj$wjvj(
zVbbm0aU;#vEoABy&)vs@ys1y*i +sjp9r;S*p!A0*3#^8hz2*=;A+20`aEyq(thvMXcrv!TQXYBhs$^PC+iMawQ>+$!p|}
z`lBuzHOjVa{n~y^oKVa?3L?0E_mj0KC_^x5OwkALRYeYITP4(-gcFfskUUplbcq
z;}IH?^Yeqcx`MN#>B5(UlA$yY5H1Xip(3W43HDMTg<^%6etWaHKE{iOqP-m7&S*;D
z$ec4M(oFqK!M*u-N9P9%#Td<>n6Umnj;XYFRDSs=1DWe)gXVO7uOvmn{*=cB$zCgt
zHE<&tAg#!~B9USIl2jtmamKIo+YLsJ@i#K8k**H(M?c$L0X??$m!Wi{PZ(E~Lkdbv
z#F`Z#qjWkE*OvQXH0)7jG{u`t#jR8{HrxeT`d;X-XuCmX4+O-=N|B%E0OZSnbi%w$
zRsB~0{QZFQMY@CBS{gR>=(ct4`gcI?Vr#b}3RPNmu3%4NX}YEa#5)Rr%u{v@NP9O-Bez1B~sxe%x2B(TJ`@?kr_r(;V5fdYK
zhxoF$&@ejfVUSP^u{We`wqM0`@}%q5Z=^}7C$*{$1sw|O6!V
vH9@dePtFRi_+|)INT8IpS{`c0O&%uF(!BmoV=u?O$7;u^nhz%