Recall & Review
beginner
What is a sink connector in Kafka Connect?
A sink connector is a component in Kafka Connect that reads data from Kafka topics and writes it to an external system like a database, file system, or search index.
Click to reveal answer
beginner
Name two common external systems where sink connectors send data.
Common external systems include relational databases (like MySQL, PostgreSQL) and search engines (like Elasticsearch).
Click to reveal answer
beginner
How does a sink connector know which Kafka topic to read from?
The sink connector configuration specifies the Kafka topic(s) it should read data from using the 'topics' property.
Click to reveal answer
intermediate
What is the role of the 'tasks.max' setting in sink connectors?
'tasks.max' defines the maximum number of tasks (parallel workers) the sink connector can use to write data to the external system, improving throughput.
Click to reveal answer
intermediate
Why is it important to handle data format compatibility in sink connectors?
Sink connectors must convert Kafka record formats (like Avro, JSON) into the format expected by the external system to avoid errors and data loss.
Click to reveal answer
What does a Kafka sink connector do?
✗ Incorrect
A sink connector reads data from Kafka topics and writes it to external systems.
Which configuration property specifies the Kafka topics a sink connector reads from?
✗ Incorrect
The 'topics' property lists the Kafka topics the sink connector consumes.
What does the 'tasks.max' setting control in a sink connector?
✗ Incorrect
'tasks.max' controls how many parallel tasks the connector can run to improve throughput.
Which of these is NOT a typical sink connector destination?
✗ Incorrect
Kafka topics are source for sink connectors, not a destination.
Why must sink connectors handle data format conversion?
✗ Incorrect
Data format conversion ensures compatibility with the external system receiving the data.
Explain what a sink connector is and how it works in Kafka Connect.
Think about how data flows from Kafka to other systems.
You got /3 concepts.
Describe why data format compatibility is important for sink connectors and how it affects data transfer.
Consider what happens if the external system expects a different format.
You got /3 concepts.