cost 311 ms
如何使用安全的 Eureka 服務器注冊 Spring Boot 客戶端應用程序

[英]How to register a Spring Boot client application with a secure Eureka server

我需要在安全的 https 模式下運行 Eureka 發現服務器,並運行在 Eureka 服務器上注冊的 Spring 引導客戶端微服務應用程序(也在 https 模式下)。 客戶端和服務器之間的所有通信都必須使用安全的 TLS 加密。 我創建了一個自簽名的 SSL 證書並將其添加到 PKCS12 ...

使用 graalvm native-image 構建 Spring eureka 客戶端

[英]Build Spring eureka client with graalvm native-image

很抱歉,因為這是我在堆棧溢出中的第一個問題,所以我希望我能正確解釋這個問題...... 我正在使用spring boot 3.0.1和GraalVM CE 22.3.0和spring cloud 2022.0.0 我正在嘗試使用 .netflix eureka 客戶端構建我的服務的native-im ...

如何創建一個微服務的多個實例:SpringBoot和Spring Cloud

[英]How to create several instances of a Microservice: SpringBoot and Spring Cloud

我是微服務的新手,我遇到了幾個概念,如服務注冊和負載平衡。 我有以下問題- 如何創建特定微服務的多個實例? 使用Eureka Server的 Service Registry 如何幫助在多個微服務實例上分配負載? 在我的場景中,我創建了 3 個不同的微服務並將它們注冊到我的服務注冊表中—— 服務注 ...

帶有 Netflix Eureka 的 Spring 雲網關中的奇怪行為服務器端負載平衡

[英]Strange behaviour server side load balancing in Spring Cloud Gateway with Netflix Eureka

我正在嘗試使用 SpringCloudGateway 和 Eureka 實現服務器端 LB。 我有微服務 ABC (abc.test.com) 和網關 (gateway.test.com) 通過主機名在 eureka (eureka.test.com) 中注冊。 如果我從本地機器上的 postman ...

有沒有辦法用域名 to.netflix eureka 注冊微服務?

[英]Is there is a way to register microservice with domain name to netflix eureka?

我正面臨尤里卡配置問題 - 是否可以通過域名如“https://www.google.com”(例如通過 ENV 變量傳遞給屬性)而不是 ip 地址(我是在沒有 static ip 地址的地方使用 PAAS 或主機名(通常是供應商的名稱)? 我試過設置尤里卡 要么 但它並沒有達到我想要達到的目的。 ...

spring boot/微服務和尤里卡的問題

[英]problem with spring boot/microservices and eureka

我在 intellij 中運行了 2 個 spring boot/微服務。 這兩項服務啟動時都沒有錯誤。 但是,如果第一個微服務嘗試從第二個微服務調用服務,我會收到錯誤消息。 有任何想法嗎? 該代碼在測試環境中運行良好,但在我的本地計算機上出現以下錯誤。 我不知道應該從哪里開始尋找錯誤。 兩個微服務 ...

spring-cloud.netflix:無法啟用 eureka 客戶端?

[英]spring-cloud-netflix: Cannot enable eureka client?

嘿,我正在做一個項目,我試圖在服務器上注冊 eureka 客戶端,我很容易啟用服務器,但不知何故無法讓客戶端啟用我還添加了所有需要的依賴項。 我還將在此處包含我的 pom.xml 文件 我已經使用了以前一些類似問題可用的大部分技術,但我無法解決這個問題。 ...

Eureka Discovery Server 未注冊客戶端

[英]Eureka Discovery Server not registering client

我們幾乎沒有使用 Eureka 發現服務器的微服務。 在本地,一切正常,但當我們將它部署在 AWS App Runner 上時,它沒有注冊任何微服務。 任何建議這里可能有什么問題? 以下是我們微服務中的示例配置文件 - 這是我們的發現服務應用程序的示例配置文件- 我們嘗試按照所附示例代碼中的說明更新 ...

我在使用 springboot 3.0.0 時遇到問題,它無法識別我的尤里卡服務器和客戶端

[英]I'm having problems with springboot 3.0.0 it doesn't recognize my eureka server and client

我的 springboot 3.0.0 有問題,它無法識別我的 eureka 服務器和客戶端,但在 2.7.4 版本中它可以正常工作,有什么變化嗎? 跟隨我的課程: api網關: 應用程序.properties: 我的路由: 應用程序.properties: 我的分類-產品 我的 controll ...

Spring 微服務 Eureka 客戶端請求執行錯誤。 端點=DefaultEndpoint{ serviceUrl='http://eureka-server:8761/eureka/},

[英]Spring Microservice Eureka Client Request execution error. endpoint=DefaultEndpoint{ serviceUrl='http://eureka-server:8761/eureka/},

I have one eureka Server that has multiple clients, I have deployed the micro services to to a docker container, whenever I do docker compose pull , ...

無法使用spring雲api網關

[英]Unable to use spring cloud api gateway

我正在開發一個示例 poc,我正在嘗試集成 spring 雲 api 網關在我的 pom.xml 我有 在我的 application.yml 我有 在我的主要 class 我可以直接從它們各自的端口訪問服務,但是當我嘗試從端口網關端口(即 9191)訪問 api 時,我得到 ***2022-09 ...

尤里卡 - 無法使用雙向 SSL 自行注冊尤里卡服務器

[英]Eureka - Unable to register eureka server in itself by using Two Way SSL

我一直在嘗試制作兩個 ssl 來保護微服務之間的通信。 當服務 A 想要注冊到 EurekaServer 時,它實際上正在工作。 但是,當我嘗試將 eureka 注冊到同一個 eureka 服務器或其他 eureka 實例時,我總是遇到錯誤的證書異常。 這是我來自尤里卡服務器的 applicatio ...

Eureka Server在微服務架構中有什么用

[英]What is the use of Eureka Server in Microservices architecture

我在我的微服務應用程序中使用“Spring Cloud Gateway” 例如: 在這種情況下,如果請求來自客戶端,例如: http://localhost:8100/mydemoservice/api/getdetails 在這種情況下,“Spring Cloud Gateway”會將請求路由到相 ...

為什么在不在雲端使用 Kubernetes 時,我們需要 Eureka 和 Spring 引導負載均衡器?

[英]Why do we need Eureka and Spring boot load balancer when using Kubernetes not in the cloud?

對於不在雲端的微服務架構: Kubernetes的負載均衡器和spring雲的負載均衡器有什么區別? what are the advantages of implementing Eureka and spring boot load balancer when using Kubernet ...

服務發現的目的,例如 Eureka

[英]Purpose of Service Discovery such as Eureka

我不明白服務發現工具背后的原因。 我知道它們是用來連接微服務的,但為什么我們不能將配置服務器中的所有 url/負載均衡器作為屬性存儲? 使用微服務 url 在屬性文件上尋找 eureka 的一些解釋。 謝謝 ...

禁用對微服務的直接訪問並僅允許通過 api 網關

[英]To disable direct access to microservice & allow only though api gateway

我目前正在使用 Spring Boot 微服務。 為了訪問這些服務,我使用帶有 Eureka 客戶端的 api 網關,但我有一個問題來保護我的服務。 考慮我在本地托管了以下 4 個微服務項目。 用戶:- 托管在 http://localhost:8080/user 所有者:- 托管在 h ...

我想在尤里卡注冊一個服務,我收到以下錯誤

[英]Im tying to register a service in eureka and im getting the following error

設置我的尤里卡服務器后。 我去了我想注冊的服務,並在主類中添加了這個注釋@EnableDiscoveryClient。 之后我去了 application.properties 並添加了這個配置<eureka.client.service-url.default-zone=http://loc ...


 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM