You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With go get in my project I am using the eureka connection to look up GetInstancesByVIPAddress.
Its missing in the latest tag pulled by dep though. Should I not be using GetInstancesByVIPAddress. Also Since I couldnt see the loadbalance implementation of returning a single load balanced instance when multiples are registered, I am currently using the shuffle with GetInstancesByVIPAddress.
Is that the correct approach?
The text was updated successfully, but these errors were encountered:
As for your second question, I can't figure out what you're asking. Are you wondering whether you need to shuffle the sequence returned by GetInstancesByVIPAddress? You can use the Shuffled and ShuffledWith functions to request that GetInstancesByVIPAddress do the shuffling for you. If you don't shuffle it, you get them in the order sent by the server, which, if I recall correctly, is stable. It's the Eureka client library that does the shuffling.
With go get in my project I am using the eureka connection to look up GetInstancesByVIPAddress.
Its missing in the latest tag pulled by dep though. Should I not be using GetInstancesByVIPAddress. Also Since I couldnt see the loadbalance implementation of returning a single load balanced instance when multiples are registered, I am currently using the shuffle with GetInstancesByVIPAddress.
Is that the correct approach?
The text was updated successfully, but these errors were encountered: