standby replica
A copy of a Kafka Streams task's state store kept warm on another instance.
In more detail
num.standby.replicas sets how many there are. When an instance fails, the task moves to an instance that already holds its state, so it resumes without replaying the whole changelog topic.
Example
num.standby.replicas=1Related terms
- state store — Local storage where a stream processing application keeps the current results of its computations.
- changelog topic — A compacted Kafka topic that records every update to a state store so the store can be rebuilt after a restart.
- Kafka Streams — A Java library, part of Apache Kafka, for building applications that read, transform and write Kafka streams.
Taught in
- Forty Minutes To Count Again — Confluent Apache Kafka Certifications (CCDAK and CCAAK) Exam Prep