spring-cloud-commons icon indicating copy to clipboard operation
spring-cloud-commons copied to clipboard

Why DiscoveryClient offers so few APIs and so little information

Open Eduardo95 opened this issue 8 years ago • 1 comments

I see SpringCloud Eureka encapsulates Netflix Eureka, and the DiscoveryClient interface in Springcloud Eureka provides a function getInstances() to get ServiceInstances. But ServiceInstance sheilds the InstanceInfo class, in which people can see node status and other information. Why do you guys do that? Why not allow users to see node status? Thanks.

Eduardo95 avatar Jun 05 '18 07:06 Eduardo95

I would assume because that information is not available in all implementations

ryanjbaxter avatar Jun 05 '18 23:06 ryanjbaxter