ableegoldman commented on PR #12809: URL: https://github.com/apache/kafka/pull/12809#issuecomment-1332142040
@lucasbru well we shouldn't be, because if we happen to be relying on finalizers then that means we have a memory leak in the Streams code itself...which is definitely possible. Actually one of the first things I worked on in Kafka was fixing a handful of memory leaks in Streams. After a particularly severe one was detected I remember we ran some kind of check for usage of objects implementing `AutoClosabe` that weren't closed (or maybe that was how we found that last one?) but that was several years ago now -- it's entirely possible new memory leaks have since been introduced. Unfortunately I don't remember how/what we did off the top of my head, but I'm sure you can just google for it -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
