[ https://issues.apache.org/jira/browse/KAFKA-5861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16163419#comment-16163419 ]
Matthias J. Sax commented on KAFKA-5861: ---------------------------------------- [~habdank] One more hint about shutdown hooks that we do use in our examples: - Java 8: https://github.com/confluentinc/kafka-streams-examples/blob/3.3.0-post/src/main/java/io/confluent/examples/streams/AnomalyDetectionLambdaExample.java#L171 - Java 7: https://github.com/confluentinc/kafka-streams-examples/blob/3.3.0-post/src/main/java/io/confluent/examples/streams/PageViewRegionExample.java#L231-L237 Hope this helps, too. > KStream close( withTimeout ) - does not work under load conditions in the > multi-threaded KStream application > ------------------------------------------------------------------------------------------------------------ > > Key: KAFKA-5861 > URL: https://issues.apache.org/jira/browse/KAFKA-5861 > Project: Kafka > Issue Type: Bug > Components: streams > Affects Versions: 0.11.0.0 > Reporter: Seweryn Habdank-Wojewodzki > > Recently implemented close( withTimeout ) for streams does not work under > load conditions in the multi-threaded KStream application. > Where there are more consuming threads and there many messages in stream, > then close ( withTimeout ) does not work. > 1. Timeout is not respected at all and > 2. application is hanging in some streaming chaos. Theoretically threads are > working - they are busy with themselves, so the app cannot end, but they are > not processing any further messages. -- This message was sent by Atlassian JIRA (v6.4.14#64029)