问答 2023-05-19 来自:开发者社区

spring cloud gateway在nacos 配置启动参数无法在 dashboard中看到

在nacos 中配置如下 spring.yml 文件中关键配置如下 project: name: gateway-sentinel-name -Dcsp.sentinel.app.type=1 -Dcsp.sentinel.dashboard.server=localhost:8080 csp: sentinel: app: type: 1 #网关应用 dashboard: server: l.....

问答 2023-05-19 来自:开发者社区

spring cloud gateway sentinel 持久化规则到nacos 启动报错 Err

spring cloud gateway sentinel 持久化规则到nacos 启动报错 环境: nacos:1.3.0,sentinel:1.7.2 springboot 2.3.3 spring cloud Hoxton.SR5 cloud-alibaba:2.2.2.RELEASEJDK1.8 整合spring-cloud-starter-alibaba-sentinel,sentin....

文章 2023-04-25 来自:开发者社区

Spring Cloud Gateway + Nacos 实现服务上下线无缝切换

大家好,我是不才陈某~最近知识星球的球友在学习星球中的《精尽Spring Cloud Alibaba》专栏提到一个问题,相信也有很多人在线上环境遇到过,或许也因此被批过:一个集群中有某个服务突然下线,但是网关还是会去请求这个实例,所以线上就报错了,报错信息如下图:究其原因到底为何呢?有没有一种靠谱的解决方案呢?别着急,往下看产生原因Gateway中有个缓存 CachingRouteLocator....

Spring Cloud Gateway + Nacos 实现服务上下线无缝切换
文章 2023-02-22 来自:开发者社区

Spring Cloud Gateway整合Nacos实现服务路由及集群负载均衡

目录一、序言二、代码示例1、父工程spring-cloud-gateway-learning2、子工程spring-cloud-api-gateway(1) pom.xml(2) 配置文件和代码示例3、子工程spring-cloud-user-service(1) pom.xml(2) 配置文件4、子工程spring-cloud-message-service(1) pom.xml(2) 配置文....

Spring Cloud Gateway整合Nacos实现服务路由及集群负载均衡
文章 2023-02-09 来自:开发者社区

SpringCloud整合 Oauth2+Gateway+Jwt+Nacos 实现授权码模式的服务认证(二)

前言目前正在出一个SpringCloud进阶系列教程,含源码解读, 篇幅会较多, 喜欢的话,给个关注❤️ ~该系列默认开启Nacos 服务,还不会搭建的小伙伴可以参考往期文章~本节重点是给大家介绍Oauth2如何整合到SpringCloud Gateway 网关中, 废话不多说直接开整吧~SpringCloud Gateway 网关搭建在最初的时候,给大家介绍的是Zull网关,其实我们可以有更好....

SpringCloud整合 Oauth2+Gateway+Jwt+Nacos 实现授权码模式的服务认证(二)
文章 2023-02-09 来自:开发者社区

SpringCloud整合 Oauth2+Gateway+Jwt+Nacos 实现授权码模式的服务认证(一)

前言目前正在出一个SpringCloud进阶系列教程,含源码解读, 篇幅会较多, 喜欢的话,给个关注❤️ ~前段时间拖更了,主要事情比较多和杂,不多废话了,直接给大家开整吧~ 本节重点是给大家介绍Oauth2,将会带大家从0到1搭建一个 SpringCloud项目,以及整合Oauth2 Server,实现基本的授权和认证功能。什么是OAuth2.0跟往常一样,在学习新知识前,首先明白它是啥?我相....

SpringCloud整合 Oauth2+Gateway+Jwt+Nacos 实现授权码模式的服务认证(一)
问答 2023-01-09 来自:开发者社区

自建spring cloud + gateway +nacos 想替换成mse,有整体服务方案么?

想咨询下,自建的spring cloud + gateway +nacos 想整体替换成mse,阿里云这边有整体服务方案么?

文章 2022-11-16 来自:开发者社区

Gateway 从 nacos 中获取服务信息|学习笔记

开发者学堂课程【全面讲解 Spring Cloud Alibaba 技术栈(知识精讲+项目实战)第三阶段:Gateway 从 nacos 中获取服务信息】学习笔记,与课程紧密联系,让用户快速学习知识。课程地址:https://developer.aliyun.com/learning/course/685/detail/11888Gateway 从 nacos 中获取服务信息内容介绍一、引言二、....

文章 2022-11-07 来自:开发者社区

3.10 Spring Cloud Gateway 实战接入 Nacos 服务 | 学习笔记

开发者学堂课程【Spring Cloud 微服务架构设计与开发实战 :3.10 Spring Cloud Gateway 实战接入 Nacos 服务】学习笔记,与课程紧密联系,让用户快速学习知识。课程地址:https://developer.aliyun.com/learning/course/60/detail/10933.10 Spring Cloud Gateway 实....

3.10 Spring Cloud Gateway 实战接入 Nacos 服务 | 学习笔记
问答 2022-10-31 来自:开发者社区

Nacos中Gateway这边还是有重启的,线程非常多,nacos 有这个问题嘛?

Nacos中Gateway 这边还是有重启的,本地 profile 了一下,看到这个 nacos-grpc-client-excuter-的线程非常多,14 分钟加到 400 多了,感觉每 2-3 秒就一条线程在增加。看了下社区,也是有这个问题,nacos 有这个问题嘛?

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

产品推荐

{"cardStyle":"productCardStyle","productCardInfo":{"productTitle":"AI 网关","productDescription":"Agent 构建必备,让 LLM 和 MCP 调用更可控、更安全、更经济。","productContentLink":"https://www.aliyun.com/product/api-gateway/ai-gateway","isDisplayProductIcon":true,"productButton1":{"productButtonText":"产品详情","productButtonLink":"https://www.aliyun.com/product/api-gateway/ai-gateway"},"productButton2":{"productButtonText":"文档","productButtonLink":"https://help.aliyun.com/zh/api-gateway/ai-gateway/product-overview/what-is-an-ai-gateway?spm=5176.43410590.J__YK4tzIcbUfim9u-kxySN.1.192be72dRbBzqR"},"productButton3":{"productButtonText":"控制台","productButtonLink":"https://apig.console.aliyun.com/?spm=5176.43410590.J__YK4tzIcbUfim9u-kxySN.2.192be72dRbBzqR&region=cn-beijing#/ai-gateway-overview"},"productPromotionInfoBlock":[{"$id":"0","productPromotionGroupingTitle":"产品入门","productPromotionInfoFirstText":"教程学习","productPromotionInfoFirstLink":"https://help.aliyun.com/zh/api-gateway/ai-gateway/getting-started/manage-the-ai-api?spm=5176.43410590.J_hTE1CWiP9s-wmffHdCffK.1.192be72dh8dQob","productPromotionInfoSecondText":"","productPromotionInfoSecondLink":""},{"$id":"1","productPromotionGroupingTitle":"产品选型","productPromotionInfoFirstText":"免费试用","productPromotionInfoFirstLink":"https://free.aliyun.com/?spm=5176.43410590.J_dFy_JybRm6Ym7bLCi5DYE.2.6e1c7bf87bf8T6&searchKey=AI%E7%BD%91%E5%85%B3","productPromotionInfoSecondText":"","productPromotionInfoSecondLink":""},{"$id":"2","productPromotionGroupingTitle":"产品功能","productPromotionInfoFirstText":"管理 Model API","productPromotionInfoFirstLink":"https://help.aliyun.com/zh/api-gateway/ai-gateway/user-guide/managing-the-model-api","productPromotionInfoSecondText":"","productPromotionInfoSecondLink":""},{"$id":"3","productPromotionGroupingTitle":"产品动态","productPromotionInfoFirstText":"新功能","productPromotionInfoFirstLink":"https://help.aliyun.com/zh/api-gateway/ai-gateway/product-overview/new-feature-release-notes-ai-gateway","productPromotionInfoSecondText":"","productPromotionInfoSecondLink":""}],"isOfficialLogo":false},"activityCardInfo":{"activityTitle":"","activityDescription":"","cardContentBackgroundMode":"LightMode","activityContentBackgroundImageLink":"","activityCardBottomInfoSelect":"activityPromotionInfoBlock"}}

开发与运维

集结各类场景实战经验,助你开发运维畅行无忧

+关注