DE Mastery GitHub

Apache Kafka · KFK-09

Event & topic design

From your world. fact grain and multi-company marts, decided at the topic layer

Practice quiz with instant feedback. For a scored run that counts toward your local progress, use uv run de quiz KFK-09.

1Kafka guarantees message ordering at what scope?
2How does the default producer partitioner map a non-null key to a partition?
3In a skewed multi-tenant platform, why is keying every event by company_id a poor choice?
4You need the LATEST state per customer, and you must be able to rebuild it from the topic. Which topic design fits?
5Why is increasing the partition count of a topic a disruptive change?
6What is the correct distinction between an event topic and an entity topic?
7What is the main drawback of a topic-per-tenant design at thousands of tenants?
8You must preserve per-entity ordering and spread the load of a skewed tenant. Which key is best?