Very new to Spring/Eureka, sorry if this is a dumb question:
I have multiple services, all implementing a common interface. I need to dynamically (at runtime) select the correct implementation. For example, I may have a front end that services multiple payroll systems. I want to select the correct payroll system based on some attribute.
I don't want to have to define multiple endpoints for each (if I start servicing an additional system, I don't want to have to add even more endpoints).
What I want to do is locate the correct service (maybe construct the name dynamically based on the desired payroll system) and interact via the interface. Does that make sense? Possible? Obvious?