Why retries create duplicate charges and lost events, and how idempotency keys, a transactional outbox and idempotent consumers give an exactly-once effect.
50+ Kafka interview questions with direct answers: partitions, acks and ISR, KRaft vs ZooKeeper, exactly-once, KIP-848 rebalancing, share groups and Spring Kafka.
How Kafka consumer groups split partitions, what an offset commit stores, what triggers a rebalance, eager vs cooperative vs KIP-848, and how to measure lag. Real output from a Kafka 4.4 broker.
A runnable Spring Boot 4 Kafka example: KafkaTemplate with keys, @KafkaListener with manual ack, idempotent consumer, @RetryableTopic retries, a dead-letter topic and a Testcontainers test.
The SQL questions data analyst interviews ask most, each with a working query: joins and anti-joins, WHERE vs HAVING, NULLs, window functions, top N per group, month-over-month growth and cohorts.
Someone hands you a CSV and asks for a quick summary. Here is how to turn that throwaway script into a validated, staged, reproducible Python data pipeline you can trust.