EasyConceptKafka and streaming pipelines
What is a Kafka partition and how does it relate to ordering?
What a good answer covers
A partition is an ordered append-only log, and ordering is guaranteed only within one partition. Records with the same key go to the same partition, so key choice determines which events stay ordered.
PreviousYou need to ingest database changes into the lake in near real time. What approach do you choose?Next An Airflow DAG with 800 tasks makes the scheduler slow and tasks queue for minutes. How do you fix it?
More on Kafka and streaming pipelines
Flashcards for this topic- MediumA Kafka consumer group shows growing lag on a few partitions only. How do you investigate?
- HardYour pipeline must be exactly-once from Kafka to a warehouse table. How do you design it?
- MediumWhat does min.insync.replicas combined with acks=all guarantee?
- MediumWhat is log compaction in Kafka and when would you use it?