Q1. Explain Kafka topics, partitions and offsets.
A topic is a named stream of records. It is split into partitions, which are the unit of ordering, parallelism and replication. Records within a partition are strictly or...
Technical Question Bank · Peer-Reviewed
Search and filter frequently asked interview questions across technical, programming, and behavioral domains. Tailor your interview preparation by difficulty for freshers or experienced developers (7 available).
A topic is a named stream of records. It is split into partitions, which are the unit of ordering, parallelism and replication. Records within a partition are strictly or...
Queues decouple producers from consumers, absorb traffic spikes, enable retries and fan-out, and improve resilience when a downstream service is slow or down. Delivery se...
A consumer group is a set of consumers that cooperatively consume a topic. Kafka assigns each partition to exactly one consumer in the group, so the group as a whole proc...
Ordering is usually per partition or per queue, not global. - Kafka orders records within a partition only. Records with the same key go to the same partition, preserving...
Consumer lag is the gap between the latest produced offset and the committed offset. Rising lag means producers outpace consumers, and left unchecked it grows unbounded a...
Kafka combines two features: - Idempotent producer: each producer gets a producer id and sequence numbers. The broker deduplicates retries within a session, so a network ...
CDC captures row-level changes from a source database and streams them downstream with low latency. A typical design: - Capture: read the database transaction log with a ...
HireXTech uses essential storage to remember your study preferences and third-party advertising cookies via Google AdSense in compliance with GDPR. You can choose to enable essential cookies only or accept all cookies. Read our Privacy Policy.