# Any plans to upgrade the Http Client to 5.x on the Java Rest Client?

**URL:** <https://discuss.elastic.co/t/any-plans-to-upgrade-the-http-client-to-5-x-on-the-java-rest-client/239540>\
**Category:** Elasticsearch\
**Created:** [July 1, 2020, 7:41pm UTC](https://discuss.elastic.co/t/any-plans-to-upgrade-the-http-client-to-5-x-on-the-java-rest-client/239540 "2020-07-01T19:41:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aquilino\_Viveiros](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/aquilino_viveiros/32/56560_2.png) [@Aquilino\_Viveiros](https://discuss.elastic.co/u/Aquilino_Viveiros)\
**Post date:** [July 1, 2020, 7:41pm UTC](https://discuss.elastic.co/t/any-plans-to-upgrade-the-http-client-to-5-x-on-the-java-rest-client/239540/1 "2020-07-01T19:41:34Z")

</div>

The RestClient holds a reference to a CloseableHttpAsyncClient which under version 4.x does not support retry mechanism. Any plans to upgrade the rest client to use Http Client 5.x? The new version seems to support this.

Under the current version (I'm using 7.6.0), even if i wanted to provide a Wrapper Client with retry support on the existing CloseableHttpAsyncClient, it's not possible?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 29, 2020, 7:51pm UTC](https://discuss.elastic.co/t/any-plans-to-upgrade-the-http-client-to-5-x-on-the-java-rest-client/239540/2 "2020-07-29T19:51:31Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
