Reference implementation of my article demonstrating how to implement REST client using Spring WebClient with below considerations:
- Optimized in terms of connection pool management along with its externalized configurability
- Resilient to handle errors along with configurable retries
- Having capability to conditionally access secured REST endpoints
- WebClient recommendations
Bootstrapping downstream system a.k.a 'alias-service-api' which is invoked by Spring Webclient
- Go to
bin
directory of Go - Run this command -
go run <Full Path>\alias-service-api.go