* Fix to shutdown PrefetchRecordsPublisher in gracefull manner Previously when the lease expires PrefetchRecordsPublisher shutdown the process forecefully by interupting the threads, which lead to leak in apache http client connection Now changed to code to shutdown the PrefetchRecordsPublisher process in more gracefull manager and handled interrupted exception * Fixed failing unit test * Add awaitTerminationTimeoutMillis as paramter for PrefetchRecordsPublisher Since clients can configure there own awaitTerminationTimeoutMillis, add it as sepearate parameter with default value * Fix setting interrupot status after shutdown Co-authored-by: Monishkumar Gajendran <monishku@amazon.com> |
||
|---|---|---|
| .. | ||
| src | ||
| pom.xml | ||