Nacos Config Starter Configurations
The following shows the other configurations of the starter of Nacos Config:
Configuration | Key | Default Value | Description |
Server address | | IP and port of the Nacos Server listener | |
Dataid from nacos config | | First take the prefix, then go to the name, and finally take spring.application.name | |
Dataid from nacos config | | First take the prefix, then go to the name, and finally take spring.application.name | |
Encode for nacos config content | | Encode for nacos config content | |
GROUP for nacos config | | | GROUP for nacos config |
The suffix of nacos config dataId, also the file extension of config content. | | | The suffix of nacos config dataId, also the file extension of config content(now support properties or yaml(yml)) |
Timeout for get config from nacos | | | Timeout for get config from nacos |
Endpoint | | Endpoint | |
Namespace | | Namespace | |
AccessKey | | Alibaba Cloud account accesskey | |
SecretKey | | Alibaba Cloud account secretkey | |
The context path of Nacos Server | | The context path of Nacos Server | |
Cluster name | | Cluster name | |
Dataid for Shared Configuration | | Dataid for Shared Configuration, split by "," | |
Dynamic refresh dataid for Shared Configuration | | Dynamic refresh dataid for Shared Configuration, split by "," | |
custom dataid | | It’s a List,build up by |
Nacos Discovery Starter Configurations
The following shows the other configurations of the starter of Nacos Discovery:
Configuration | Key | Default Value | Description |
Server address | | IP and port of the Nacos Server listener | |
Service name | | | Name the current service |
Weight | | | Value range: 1 to 100. The bigger the value, the greater the weight |
Network card name | | If the IP address is not specified, the registered IP address is the IP address of the network card. If this is not specified either, the IP address of the first network card will be used by default. | |
Registered IP address | | Highest priority | |
Registered port | | | Will be detected automatically by default. Do not need to be configured. |
Namespace | | A typical scenario is to isolate the service registration for different environment, such as resource (configurations, services etc.) isolation between testing and production environment | |
AccessKey | | Alibaba Cloud account accesskey | |
SecretKey | | Alibaba Cloud account secretkey | |
Metadata | | You can define some of the metadata for your services in the Map format | |
Log file name | | ||
Cluster Name | | | Cluster name of Nacos |
Endpoint | | The domain name of a certain service in a specific region. You can retrieve the server address dynamically with this domain name | |
Integrate Ribbon or not | | | Set to true in most cases |
Enable Nacos Watch | | | set to false to close watch |