This project is providing two scenario for load balancing microservices without any service registery.
-
In first scenario I used @LoadBalancerClients for registering configs and building
ServiceInstanceListSupplier
bean for every services. and after that in MyController class I injectedLoadBalancerClient
for finding service with round robin pattern. this part will activate indirect
profile -
And in second case I used feign client and it is runnable with
feign
profile.