80c260e207
* [#840] Nacos server adds startup mode to distinguish between config and naming. * [#762] Register instance returns failed when the health check mode is 'server' in standalone mode. * [#473] Nacos Cluster Mode kubernate Startup nacos.log error Log. * [#240] Log strong dependence problem. * [#824] getServicesOfServer throws exception if service list is empty. * [#802] Nacos server multi-boot mode support. * [#800] Nacos's client-to-server addressing mode document introduction. * [#768] The interval at which the heartbeat is sent in BeatReactor is not controlled by the server return value. * [#759] why instance can't auto-delete. * [#756] Format of instance and service should be validated. * [#720] Memory leak in PushService. * [#653] IoUtils under nacos-common-0.2.1-RC1.jar lacks "" judgment on encoding. * [#588] Client compatible to jdk1.6. On branch develop
154 lines
8.8 KiB
Markdown
154 lines
8.8 KiB
Markdown
|
||
<img src="doc/Nacos_Logo.png" width="50%" height="50%" />
|
||
|
||
# Nacos: Dynamic *Na*ming and *Co*nfiguration *S*ervice
|
||
|
||
[![Gitter](https://badges.gitter.im/alibaba/nacos.svg)](https://gitter.im/alibaba/nacos?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [![License](https://img.shields.io/badge/license-Apache%202-4EB1BA.svg)](https://www.apache.org/licenses/LICENSE-2.0.html)
|
||
[![Gitter](https://travis-ci.org/alibaba/nacos.svg?branch=master)](https://travis-ci.org/alibaba/nacos)
|
||
|
||
-------
|
||
|
||
## What does it do
|
||
|
||
Nacos (official site: [http://nacos.io](http://nacos.io)) is an easy-to-use platform designed for dynamic service discovery and configuration and service management. It helps you to build cloud native applications and microservices platform easily.
|
||
|
||
Service is a first-class citizen in Nacos. Nacos supports almost all type of services,for example,[Dubbo/gRPC service](https://nacos.io/en-us/docs/use-nacos-with-dubbo.html)、[Spring Cloud RESTFul service](https://nacos.io/en-us/docs/use-nacos-with-springcloud.html) or [Kubernetes service](https://nacos.io/en-us/docs/use-nacos-with-kubernetes.html).
|
||
|
||
Nacos provides four major functions.
|
||
|
||
* **Service Discovery and Service Health Check**
|
||
|
||
Nacos makes it simple for services to register themselves and to discover other services via a DNS or HTTP interface. Nacos also provides real-time healthchecks of services to prevent sending requests to unhealthy hosts or service instance.
|
||
|
||
* **Dynamic Configuration Management**
|
||
|
||
Dynamic Configuration Service allows you to manage configurations of all services in a centralized and dynamic manner across all environments. Nacos eliminates the need to redeploy applications and services when configurations are updated,which makes configuration changes more efficient and agile.
|
||
|
||
* **Dynamic DNS Service**
|
||
|
||
Nacos supports weighted routing, making it easier for you to implement mid-tier load balancing, flexible routing policies, flow control, and simple DNS resolution services in the production environment within your data center. It helps you to implement DNS-based service discovery easily and prevent applications from coupling to vendor-specific service discovery APIs.
|
||
|
||
* **Service and MetaData Management**
|
||
|
||
Nacos provides an easy-to-use service dashboard to help you manage your services metadata, configuration, kubernetes DNS, service health and metrics statistics.
|
||
|
||
|
||
## Quick Start
|
||
It is super easy to get started with your first project.
|
||
|
||
#### Step 1: Download the binary package
|
||
|
||
You can download the package from the [latest stable release](https://github.com/alibaba/nacos/releases).
|
||
|
||
Take release nacos-server-0.9.0.zip for example.
|
||
```
|
||
unzip nacos-server-0.9.0.zip
|
||
cd nacos/bin
|
||
```
|
||
|
||
#### Step 2: Start Server
|
||
|
||
On the **Linux/Unix/Mac** platform, run the following command to start server with standalone mode:
|
||
```
|
||
sh startup.sh -m standalone
|
||
```
|
||
|
||
On the **Windows** platform, run the following command to start server with standalone mode. Alternatively, you can also double-click the startup.cmd to run NacosServer.
|
||
```
|
||
cmd startup.cmd -m standalone
|
||
```
|
||
|
||
For more details, see [quick-start.](https://nacos.io/en-us/docs/quick-start.html)
|
||
|
||
## Quick start for other open-source projects:
|
||
* [Quick start with Nacos command and console](https://nacos.io/en-us/docs/quick-start.html)
|
||
|
||
* [Quick start with dubbo](https://nacos.io/en-us/docs/use-nacos-with-dubbo.html)
|
||
|
||
* [Quick start with spring cloud](https://nacos.io/en-us/docs/quick-start-spring-cloud.html)
|
||
|
||
* [Quick start with kubernetes](https://nacos.io/en-us/docs/use-nacos-with-kubernetes.html)
|
||
|
||
|
||
## Documentation
|
||
|
||
You can view the full documentation from the [Nacos website](https://nacos.io/en-us/docs/what-is-nacos.html).
|
||
|
||
All the latest and long-term notice can also be found here from [Github notice issue](https://github.com/alibaba/nacos/labels/notice)
|
||
|
||
|
||
## Contributing
|
||
|
||
Contributors are welcomed to join Nacos project. Please check [CONTRIBUTING](./CONTRIBUTING.md) about how to contribute to this project.
|
||
|
||
## Other Related Project Repositories
|
||
|
||
* [nacos-spring-project](https://github.com/nacos-group/nacos-spring-project) provides the integration functionality for Spring.
|
||
* [nacos-group](https://github.com/nacos-group) is the reposity that hosts the eco tools for Nacos, such as SDK, synchronization tool, etc.
|
||
* [spring-cloud-alibaba](https://github.com/spring-cloud-incubator/spring-cloud-alibaba) provides the one-stop solution for application development over Alibaba middleware which includes Nacos.
|
||
|
||
## Contact
|
||
|
||
* [Gitter](https://gitter.im/alibaba/nacos): Nacos's IM tool for community messaging, collaboration and discovery.
|
||
* [Twitter](https://twitter.com/nacos2): Follow along for latest nacos news on Twitter.
|
||
* [Weibo](https://weibo.com/u/6574374908): Follow along for latest nacos news on Weibo (Twitter of China version).
|
||
* [Nacos Segmentfault](https://segmentfault.com/t/nacos): Get latest notice and prompt help from Segmentfault.
|
||
* Email Group:
|
||
* users-nacos@googlegroups.com: Nacos usage general discussion.
|
||
* dev-nacos@googlegroups.com: Nacos developer discussion (APIs, feature design, etc).
|
||
* commits-nacos@googlegroups.com: Commits notice, very high frequency.
|
||
* Join us from wechat. Welcome words: Nacos.
|
||
|
||
![cwex](http://acm-public.oss-cn-hangzhou.aliyuncs.com/xuc.png)
|
||
|
||
|
||
## Who is using
|
||
|
||
These are only part of the companies using Nacos, for reference only. If you are using Nacos, please [add your company here](https://github.com/alibaba/nacos/issues/273) to tell us your scenario to make Nacos better.
|
||
|
||
![Alibaba Group](https://docs.alibabagroup.com/assets2/images/en/global/logo_header.png)
|
||
![虎牙直播](https://a.msstatic.com/huya/main/img/logo.png)
|
||
![ICBC](http://v.icbc.com.cn/userfiles/Resources/ICBC/shouye/images/2017/logo.png)
|
||
![爱奇艺](http://www.iqiyipic.com/common/fix/site-v4/sprite-headLogo-index.png)
|
||
![平安科技](https://img.alicdn.com/tfs/TB1pwi9EwHqK1RjSZJnXXbNLpXa-479-59.png)
|
||
![华夏信财](https://img.alicdn.com/tfs/TB1MZWSEzDpK1RjSZFrXXa78VXa-269-69.png)
|
||
![优客工场](https://www.urwork.cn/public/images/ui/logo.png)
|
||
![贝壳找房](https://img.alicdn.com/tfs/TB1ebu.EAvoK1RjSZFwXXciCFXa-224-80.png)
|
||
![瑞安农村商业银行](https://img.alicdn.com/tfs/TB1lxu7EBLoK1RjSZFuXXXn0XXa-409-74.png)
|
||
![司法大数据](https://img.alicdn.com/tfs/TB1L16eEzTpK1RjSZKPXXa3UpXa-302-50.png)
|
||
![搜易贷](https://www.souyidai.com/www-style/images/logo.gif)
|
||
![美菜](https://www.meicai.cn/assets/images/new-img/logo.png)
|
||
![松格科技](http://songe.so/images/logo.gif)
|
||
![平行云](https://img.alicdn.com/tfs/TB1OigyDyLaK1RjSZFxXXamPFXa-168-70.png)
|
||
![甘肃紫光](http://www.gsunis.net/V2/image/logo.jpg)
|
||
![海云天](http://www.seaskylight.com/cn/uploadfiles/image/logo.png)
|
||
![集萃智能](http://www.iimt.org.cn/pic/logosy.png)
|
||
![Acmedcare+](https://img.alicdn.com/tfs/TB1DZWSEzDpK1RjSZFrXXa78VXa-240-62.png)
|
||
![吾享](https://w.wuuxiang.com/theme/images/common/logo1.png)
|
||
![北京天合互联信息有限公司](http://14605854.s21i.faiusr.com/4/ABUIABAEGAAg4OvkzwUo8b-qlwUwxQ449gM!300x300.png)
|
||
![上海密尔克卫化工](http://www.mwclg.com/static-resource/front/images/home/img_logo_nav.png)
|
||
![大连新唯](https://www.synwe.com/logo-full.png)
|
||
![立思辰](https://user-images.githubusercontent.com/10215557/51593180-7563af00-1f2c-11e9-95b1-ec2c645d6a0b.png)
|
||
![拓深科技](http://www.tpson.cn/images/new/icon/LOGO_1.png)
|
||
![东家](https://img.alicdn.com/tfs/TB1zWW2EpYqK1RjSZLeXXbXppXa-262-81.png)
|
||
![上海克垚](http://www.sh-guiyao.com/images/logo.jpg)
|
||
![郑州山水](http://www.zzssxx.com/style/images/logo.png)
|
||
![联采科技](http://www.lckjep.com:80//theme/img/logoTop.png)
|
||
![南京28研究所](https://img.alicdn.com/tfs/TB1G216EsbpK1RjSZFyXXX_qFXa-325-53.jpg)
|
||
![长亮科技](http://www.sunline.cn/Uploads/image/20170724/59759a405c3b2.png)
|
||
![深圳易停车库](http://www.ytparking.com/yiting/images/logo.png)
|
||
![凤凰网-汽车](https://p1.ifengimg.com/auto/image/2017/0922/auto_logo.png)
|
||
![武汉日创科技](http://www.dragonwake.cn/static/css/default/images/logo.png)
|
||
![易管智能](http://ebmsw.mro1598.com/UpLoadFile/MainCompany/20170308-1501-495c-a62f-fc03424f86f1/20170405/20170405-1056-4fe5-90e8-c055f8a1bb23.png)
|
||
![云帐房](http://www.yunzhangfang.com/yzf-pc/img/logo.png)
|
||
![知氏教育](https://www.chyeth.com/622e88980a5d091eaa6449f82d48ca43.png)
|
||
![中化信息](http://www.sinochem.com/Portals/0/xinlogo.png)
|
||
![海格管家](https://img.alicdn.com/tfs/TB1FNq4EwHqK1RjSZFgXXa7JXXa-232-232.jpg)
|
||
![东莞最佳拍档](https://img.alicdn.com/tfs/TB11ugsDzTpK1RjSZKPXXa3UpXa-300-300.png)
|
||
![chigua](https://img.alicdn.com/tfs/TB1aUe5EpzqK1RjSZSgXXcpAVXa-248-124.png)
|
||
![宅无限](https://img.alicdn.com/tfs/TB1H9O5EAvoK1RjSZFNXXcxMVXa-221-221.jpg)
|
||
![天阙](https://img.alicdn.com/tfs/TB1rNq4EwHqK1RjSZFgXXa7JXXa-200-200.jpg)
|
||
![联合永道](https://img.alicdn.com/tfs/TB1CRAxDxYaK1RjSZFnXXa80pXa-190-190.jpg)
|
||
![明源云](https://img.alicdn.com/tfs/TB1.q14ErrpK1RjSZTEXXcWAVXa-219-219.jpg)
|
||
|