Apache Kafka — Event Streaming from Basics to a Platform Service›The ecosystem · Cheat sheet & self-check

The ecosystem · wrap-up

Cheat sheet & self-check

6 questions across 2 lessons. Each answer links back to the lesson it came from.

Pick an answer to see if you got it, and why.

  1. Q1. How does a consumer know which schema a record was written with?

    Show answer

    B. Only the ID travels with each record, not the whole schema.

    From lesson 11 · Schemas and Schema Registry
  2. Q2. Under BACKWARD compatibility, which side should be upgraded first?

    Show answer

    B. Then producers start writing the new version.

    From lesson 11 · Schemas and Schema Registry
  3. Q3. You must change a field's meaning in a way no compatibility mode allows. What is the safe approach?

    Show answer

    B. Breaking changes need a new contract and a planned migration.

    From lesson 11 · Schemas and Schema Registry
  4. Q4. Why use Kafka Connect instead of writing a consumer that writes to the database?

    Show answer

    B. Connect is a framework for reliable integration; you only supply configuration.

    From lesson 12 · Kafka Connect, CDC and stream processing
  5. Q5. How does Debezium capture changes from PostgreSQL?

    Show answer

    B. Log-based CDC sees every committed change, in order, with low load on the database.

    From lesson 12 · Kafka Connect, CDC and stream processing
  6. Q6. In Kafka Streams, what is a KTable?

    Show answer

    B. A KStream is every event; a KTable is the current state per key.

    From lesson 12 · Kafka Connect, CDC and stream processing