Polish : spring-cloud-incubator/spring-cloud-alibaba#474 : Dubbo Spring Cloud service consume failed in Eureka

pull/475/head
mercyblitz 6 years ago
parent 4c3ad6b874
commit c596632a56

@ -49,6 +49,7 @@ public class EurekaRegistrationFactory extends AbstractRegistrationFactory<Eurek
eurekaInstanceConfigBean.setSecureVirtualHostName(serviceId);
eurekaInstanceConfigBean.setAppname(serviceId);
eurekaInstanceConfigBean.setHostname(serviceInstance.getHost());
eurekaInstanceConfigBean.setNonSecurePort(serviceInstance.getPort());
eurekaInstanceConfigBean.setMetadataMap(serviceInstance.getMetadata());
return EurekaRegistration.builder(eurekaInstanceConfigBean)

Loading…
Cancel
Save