]
Gustavo Lira Silva updated ISPN-10983:
--------------------------------------
Steps to Reproduce:
1 - Clone
Infinispan RestClientOkHttp keeping the process alive
-----------------------------------------------------
Key: ISPN-10983
URL:
https://issues.jboss.org/browse/ISPN-10983
Project: Infinispan
Issue Type: Bug
Components: REST
Affects Versions: 10.1.0.Beta1
Reporter: Gustavo Lira Silva
Assignee: Gustavo Fernandes
Priority: Major
RestClientOkHttp is keeping the process alive, the process is async so the response are
return, we are able to get the body response but the process still alive
For example:
{code:java}
RestClientOkHttp restClient = new RestClientOkHttp(new
RestClientConfigurationBuilder().build());
RestResponse response =
restClient.cacheManager("default").stats().toCompletableFuture().get();
System.out.println(response.getBody());
{code}