Re: stop() method for extensions module

2019-12-08 Thread Krishna Likhitha Katakam
Thanks, it works. On 2019/12/04 17:30:42, Charles Allen wrote: > I had problems with this as well. Check out > https://github.com/apache/incubator-druid/pull/6798 for some ways to handle > this. > > On Wed, Dec 4, 2019 at 9:22 AM Krishna Likhitha Katakam < > krishna.likhi...@phonepe.com>

Re: stop() method for extensions module

2019-12-04 Thread Charles Allen
I had problems with this as well. Check out https://github.com/apache/incubator-druid/pull/6798 for some ways to handle this. On Wed, Dec 4, 2019 at 9:22 AM Krishna Likhitha Katakam < krishna.likhi...@phonepe.com> wrote: > Hi, > > I have a basic question: > When we write a custom Druid

stop() method for extensions module

2019-12-04 Thread Krishna Likhitha Katakam
Hi, I have a basic question: When we write a custom Druid extensions module, if we have some resources (like an HTTP client with non-daemon threads) created as part of the module, there is no close() method currently where we can safely clean up the resources. Could anyone help how to do this?