[
https://issues.apache.org/jira/browse/SCB-1128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Willem Jiang updated SCB-1128:
------------------------------
Affects Version/s: (was: pack-0.4.0)
> 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
> Reporter: Lei Zhang
> Assignee: Lei Zhang
> Priority: Minor
> Labels: spring-cloud
> Fix For: pack-0.4.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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)