You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@servicecomb.apache.org by "Lei Zhang (JIRA)" <ji...@apache.org> on 2019/01/22 16:22:00 UTC
[jira] [Created] (SCB-1128) Omega get Alpha address from Spring
Cloud Eureka
Lei Zhang created SCB-1128:
------------------------------
Summary: Omega get Alpha address from Spring Cloud Eureka
Key: SCB-1128
URL: https://issues.apache.org/jira/browse/SCB-1128
Project: Apache ServiceComb
Issue Type: Improvement
Components: Saga
Affects Versions: pack-0.4.0
Reporter: Lei Zhang
Assignee: Lei Zhang
Fix For: saga-0.4.0
Omega 先通过 Spring Cloud Eureka 获取服务ID为 ${alpha.cluster.serviceId}的已经注册 Alpah 服务地址,使用此地址连接Alpha服务,如果获取失败则使用 ${alpha.cluster.address}连接
{code:java}
alpha:
cluster:
address: localhost:8080
serviceId: servicecomb-alpha-server
register:
type: spring-cloud-eureka
eureka:
client:
service-url:
defaultZone:http://127.0.0.1:8761/eureka
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)