Singleton use of HttpClient in vert.x
Recently I noticed that in our server logs there were quite a few of Caused by: io.vertx.core.http.HttpClosedException: Connection was closed
errors, the scenario was service A
made an http API call to service B
and finally A
threw this HttpClosedException
. This API call was actually going through AWS internal ALB (A -> AWS ALB -> B
), I also searched ALB log, but could not even find any traffic going into service B
.