im using latest version (v2.7.3) my question is how can get the eureka server instances to get my uri?

Viewed 10

Spring Boot :: (v2.7.3)

List accountslist = eurekaDiscoveryClient.getInstances("ACCOUNTS"); ServiceInstance accounts = accountslist.get(0); URI accountsMS = accounts.getUri(); this is not working for me cause im using latest version should i degarde or any other ways i could implemnt any one?

appreciated if you could answer!

0 Answers
Related