You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As we were using the KCL 2.3 recently, we noticed that even after the scheduler has been shut down, part of the LeaseCleanupManager is still running, continuously logging this message:
Number of pending leases to clean before the scan : 0
After looking into the source code along with thread dump, I found that deletionThreadPool in LeaseCleanupManager is never closed.
I ran into the same issue with KCL 1.
1.14.x cannot stop cleanly but LeaseCleanupManager keeps running forever.
Versions up to 1.13.3 can stop properly.
The Worker creates a ScheduledExecutorService for LeaseCleanupManager on the fly. As there is no reference to the executor, it cannot be stopped later.
Greetings,
As we were using the KCL 2.3 recently, we noticed that even after the scheduler has been shut down, part of the
LeaseCleanupManager
is still running, continuously logging this message:After looking into the source code along with thread dump, I found that
deletionThreadPool
inLeaseCleanupManager
is never closed.More context at:
/~https://github.com/awslabs/amazon-kinesis-client/blob/master/amazon-kinesis-client/src/main/java/software/amazon/kinesis/leases/LeaseCleanupManager.java#L88
So I am creating this issue to have the problem tracked.
Thanks,
The text was updated successfully, but these errors were encountered: