Add ServiceAddressResolver class to support LoadBalanced RestTemplate…
Add ServiceAddressResolver class to support LoadBalanced RestTemplate direct access to services via IP address and port
… direct access to services via IP address and port (#1601)
Additional Notes
-
ServiceAddressResolver Class: The
ServiceAddressResolverclass is designed to meet the requirements of most production environments. In extreme scenarios, developers can customize their own logic by overriding theServiceAddressResolverbean methods. -
Compatibility Enhancement: The code now supports direct URI requests while maintaining full compatibility with existing logic. No changes were made to the original functionality - only additional support for direct connection URLs has been added.
Hi @spencergibb , I hope this message finds you well. I wanted to kindly ask for your feedback on this PR - would it be possible to get it merged? I'm curious if there's a release plan for the next 4.3.x version? The functionality in this PR is actually needed for a project I'm currently working on, so I'd greatly appreciate if it could be merged and potentially included in a minor release soon. Thank you so much for your time and consideration. Please let me know if there's anything else you'd like me to address or improve.