Integration / Apache Kafka Interview questions
Explain the execution flow of a Kafka Streams topology processing a record?
A Kafka Streams application defines a topology — a graph of processing nodes (source, transformations, sink) — and every record pulled from an input topic flows through that graph node by node before any result is produced.
This per-record flow happens continuously as the application polls its input topics, and because the topology is defined once at startup (via the DSL's fluent builder or the lower-level Processor API), Kafka Streams can statically determine which internal topics (repartition, changelog) it needs to create before any data actually starts flowing, rather than discovering that requirement dynamically at runtime.
More Related questions...