10 2023 档案

摘要:How to use Spring cloud gateway 1. create a maven modele for the API gateway 2. add the dependency (Search "gateway" in the start.spring.io) into the 阅读全文
posted @ 2023-10-30 00:34 小白冲冲 阅读(48) 评论(0) 推荐(0)
摘要:一个服务可以拥有多个实例(Instance),每个实例会引用不同的ip地址。这种情况下,我们将无法知道应该访问哪个。所以我们就需要Discovery Service来管理这些地址。 Discovery Service的工作原理 Netflix Eureka 1. Implement a Maven 阅读全文
posted @ 2023-10-21 05:02 小白冲冲 阅读(40) 评论(0) 推荐(0)