Inquiry Service discovery is only to select service dynamically at runtime (MS startup only) but it is not supporting services resiliency after that, so if the service "us-east-1" is selected at the MS startup then it went down, it will not change automatically to any other service.
Service Discovery Implementation I already attached the 3 classes where I implemented this service discovery, please review and let me now if any issue.Please note:
- I split implementation in 3 classes.
- Init method in "ConsumerRegistry" class is stand for main method.
- I choose the case "( password == null ) and (clientJwk == null) in all if/else statements
- We are not using websocket
- token URL1, URL2, and discovery url I passed as null, based on the analysis of the provided command