Re: Possible Memory Leak in Kafka with Tomcat

2015-01-06 Thread Marcel Alburg
Hi, thanks for the answer. If create a spring bean wich is starting the kafka consumer and this bean has an „destroy“ function. You can see it here: https://github.com/marcelalburg/spring-integration-kafka-memory-leak/blob/master/src/main/java/org/example/kafkamemoryleak/listener/KafkaConsumerS

Re: Possible Memory Leak in Kafka with Tomcat

2015-01-06 Thread Bhavesh Mistry
Hi Marcel, Memory leaks will happen when there are background threads started by webapp and not shutdown (usually lib like Code hale has shutdown hook, but web app you do get to execute shutdown hook so you get memory leaks or class not found). I have faced this so you need to either use web cont

Possible Memory Leak in Kafka with Tomcat

2015-01-06 Thread Marcel Alburg
Hello, i try to use spring-integration-kafka and after stopping the Tomcat i get an "possible memory leak" from the class loader. I talked with the people of spring-integration-kafka and you can see this talk with a lot of debug messages and an reproduceable project under: https://github.com/spr

Possible Memory Leak in Kafka with Tomcat

2015-01-06 Thread Marcel Alburg
Hello, i try to use spring-integration-kafka and after stopping the Tomcat i get an "possible memory leak" from the class loader. I talked with the people of spring-integration-kafka and you can see this talk with a lot of debug messages and an reproduceable project under: https://github.com/spr