StephanEwen edited a comment on issue #11196: [FLINK-16246][connector kinesis] 
Exclude AWS SDK MBean registry from Kinesis build
URL: https://github.com/apache/flink/pull/11196#issuecomment-591390483
 
 
   > This problem would still exist with the cleanup hook implementation 
though, no?
   
   I think not, because the cleanup hook is not run when the task exits, but 
when the classloader is disposed. Which at the moment is once the last task 
exits, in the future probably once the slot is released.
   
   The point when the classloader is disposed is exactly the point when we want 
to make sure that all other "side references" are also removed. This seems 
fairly clean to me.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to