Skills101
← All practice quizzes

Quiz: Kafka

5 questionsNo time limitPass: 60%+10 XP on first pass

Why services publish events instead of calling each other, Kafka's topics, partitions, offsets and consumer groups, and a tested Spring Boot producer and @KafkaListener consumer sending JSON events.

Log in to take the quiz

Free account · see your score, answers and explanations, earn XP

  1. Question 1

    Two consumer groups, "notifications" and "analytics", read the topic orders. Who receives an OrderPlacedEvent?

  2. Question 2

    Why give all events of one order the same key?

  3. Question 3

    What does a consumer group's offset record?

  4. Question 4

    With at-least-once delivery, what must consumers be?

  5. Question 5

    When is a direct REST call better than publishing an event?