You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some case, it would be interressed to be able to set quarkus.eureka.service-url.default with multiple eureka location.
In documentation, it 's specified but it does not work
In ServiceLocationConfig we could do a small change:
Replace public ServiceLocationConfig(Collection<String> locationsAsString) { this.locations = locationsAsString.stream().map(Location::new).collect(Collectors.toList()); }
By public ServiceLocationConfig(Collection<String> locationsAsString) { this.locations = locationsAsString.stream().map(s->s.split("\\,")) .flatMap(Stream::of).map(Location::new).collect(Collectors.toList());}
The text was updated successfully, but these errors were encountered:
Hello,
In some case, it would be interressed to be able to set quarkus.eureka.service-url.default with multiple eureka location.
In documentation, it 's specified but it does not work
In ServiceLocationConfig we could do a small change:
Replace
public ServiceLocationConfig(Collection<String> locationsAsString) { this.locations = locationsAsString.stream().map(Location::new).collect(Collectors.toList()); }
By
public ServiceLocationConfig(Collection<String> locationsAsString) { this.locations = locationsAsString.stream().map(s->s.split("\\,")) .flatMap(Stream::of).map(Location::new).collect(Collectors.toList());}
The text was updated successfully, but these errors were encountered: