Xavier Léauté created KAFKA-5152: ------------------------------------ Summary: Kafka Streams keeps restoring state after shutdown is initiated during startup Key: KAFKA-5152 URL: https://issues.apache.org/jira/browse/KAFKA-5152 Project: Kafka Issue Type: Bug Components: streams Affects Versions: 0.10.2.1 Reporter: Xavier Léauté
If streams shutdown is initiated during state restore (e.g. an uncaught exception is thrown) streams will not shut down until all stores are first finished restoring. As restore progresses, stream threads appear to be taken out of service as part of the shutdown sequence, causing rebalancing of tasks. This compounds the problem by slowing down the restore process even further, since the remaining threads now have to also restore the reassigned tasks before they can shut down. -- This message was sent by Atlassian JIRA (v6.3.15#6346)