This is triggered by a question in the Kafka Users mailing list:
The question was what happened with the State Restore listener when a new partition was assigned, long after the application has started. It wasn't clear if the state restore listener would be invoked and what state the KafkaStreams would go into while the restoration for the state of the newly assigned partition happened.
This ticket is a placeholder to improve the documentation and clarify those two points:
- What state will the KafkaStreams be in while restoring the state for the newly assigned partitions
- Will the State Restore listener be called as it would when the state is restored when the application starts