Rest High Level Client (5.6.0) stop async threads

Hi All,
I'm just getting started with the Rest High Level Client (5.6.0), and I'm having trouble shutting down my tomcat (8.5) instance because of unhandled threads. I think it's related to the async IO threads for the HTTP connections, but I can't figure out how to stop them. I was hoping for a client.close() function or something, but so far, no dice.

How do I stop dispose of the client and free it's resources once I'm through using it?


I've stumbled upon a workaround: keep a handle to the RestClient used to create the High Level Client, and close that when done. This seems to be working for me.

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