Guozhang Wang created KAFKA-9614: ------------------------------------ Summary: Avoid initializing the topology twice when resuming stream tasks from suspended state Key: KAFKA-9614 URL: https://issues.apache.org/jira/browse/KAFKA-9614 Project: Kafka Issue Type: Bug Components: streams Reporter: Guozhang Wang Assignee: Guozhang Wang
When resuming from a suspended stream task, today it first transit to restoring and then to running. The main motivation is to simplify the state transition FSM of stream tasks. We should only call `initializeTopology` when transiting from restoring to running, but the tech debt cleanup missed one gap that beforehand we transit to running directly and hence also call `initializeTopology` at the first transition. -- This message was sent by Atlassian Jira (v8.3.4#803005)