I'm maintaining an architecture that has the possibility to communicate with at least 80 external services, and we are using Hystrix on those services.
Those services have something in common: some of them, have the same backend in their sides - meaning that the way to communicate with them is the same, so we have one driver class that communicates with them, the only thing that changes is the ip address. We use one HystrixCommand in that driver.
My issue starts here. If one of those services that have the same backend gets unstable, Hystrix would circuit-break all the other services, and not specifically the one we wanted.
By my understanding, I would actually need to create a HystrixCommand for each one of them.
That's actually what I need to do? Do I need to create 80 HystrixCommand implementations? Any suggestion on how to avoid needing to create all those 80 HystrixCommands?