介绍
官方地址:https://www.consul.io/commands/kv
命令:consul kv
该kv命令用于通过命令行与 Consul 的 KV 存储进行交互。它公开了用于从存储中插入、更新、读取和删除的顶级命令。此命令在 Consul 0.7.1 及更高版本中可用。
KV 存储也可以通过 HTTP API访问。
1 | $ consul kv -h |
官方地址:https://www.consul.io/commands/kv
命令:consul kv
该kv命令用于通过命令行与 Consul 的 KV 存储进行交互。它公开了用于从存储中插入、更新、读取和删除的顶级命令。此命令在 Consul 0.7.1 及更高版本中可用。
KV 存储也可以通过 HTTP API访问。
1 | $ consul kv -h |
The gateway can listen for requests on HTTPS by following the usual Spring server configuration. (网关可以通过遵循通常的Spring服务器配置监听HTTPS上的请求) –SpringCloud官网
下面举例说明如何进行配置:
官方:
https://github.com/alibaba/Sentinel/wiki/%E4%BB%8B%E7%BB%8D
As microservices become popular, the stability of service calls is becoming increasingly important. Sentinel takes “flow” as the breakthrough point, and works on multiple fields including flow control, circuit breaking and load protection to protect service reliability. —[摘自官网]
官方:https://nacos.io/zh-cn/index.html
英文缩写:Name Configurations 表示注册中心和配置中心
Nacos 致力于帮助您发现、配置和管理微服务。Nacos 提供了一组简单易用的特性集,帮助您快速实现动态服务发现、服务配置、服务元数据及流量管理。
官方:https://spring.io/projects/spring-cloud-alibaba
Spring Cloud Alibaba provides a one-stop solution for distributed application development. It contains all the components required to develop distributed applications, making it easy for you to develop your applications using Spring Cloud.
With Spring Cloud Alibaba, you only need to add some annotations and a small amount of configurations to connect Spring Cloud applications to the distributed solutions of Alibaba, and build a distributed application system with Alibaba middleware.
官方:https://spring.io/projects/spring-cloud-bus
Spring Cloud Bus links nodes of a distributed system with a lightweight message broker. This can then be used to broadcast state changes (e.g. configuration changes) or other management instructions. AMQP and Kafka broker implementations are included with the project. Alternatively, any Spring Cloud Stream binder found on the classpath will work out of the box as a transport. –摘自官网
官方:https://spring.io/projects/spring-cloud-config
简要描述:config(配置)又称为 统一配置中心顾名思义,就是将配置统一管理,配置统一管理的好处是在日后大规模集群部署服务应用时相同的服务配置一致,日后再修改配置只需要统一修改全部同步,不需要一个一个服务手动维护。
官方:https://spring.io/projects/spring-cloud-gateway
This project provides a library for building an API Gateway on top of Spring MVC. Spring Cloud Gateway aims to provide a simple, yet effective way to route to APIs and provide cross cutting concerns to them such as: security, monitoring/metrics, and resiliency.
官方:https://github.com/Netflix/zuul/wiki
Zuul is the front door for all requests from devices and web sites to the backend of the Netflix streaming application. As an edge service application, Zuul is built to enable dynamic routing, monitoring, resiliency and security.