I am using Async high level rest client. I am pushing 400 requests to elastic search using async client. It is performant and gives me good parallelization. However I am not able to figure out how to close the client? If I do client.close(), the asycn requests that are still in pipeline fail. Can someone guide me if its important to close the async client or any method to close it once all my async requests are over
judging from a super quick peek at the source, the apache http client connection manager is closed with a 2 second delay, and does not wait for anything after that. Unless there is no other reply coming in here from a developer, opening a github issue about this might make sense.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.