I need a retry mechanism for elastic search java client since I am getting
30,000 milliseconds timeout on connection http-outgoing-1 error. I don't want to increase the read-timeout value.
I have found this https://stackoverflow.com/a/61612875/9601690 answer but unfortunately my spring-boot version is 2.2.5 which is lower than the solution supports. So, I could not apply it.
My ES version: 7.8.0
Is there another way to achieve this?