0
0
Kafkadevops~5 mins

Sink connectors in Kafka - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
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?
AReads data from Kafka and writes it to an external system
BReads data from an external system and writes it to Kafka
CManages Kafka cluster configuration
DMonitors Kafka topic partitions
Which configuration property specifies the Kafka topics a sink connector reads from?
Aconnect.topics
Bsource.topics
Ctopics
Dsink.topics
What does the 'tasks.max' setting control in a sink connector?
AMaximum retries on failure
BMaximum Kafka topic partitions
CMaximum message size
DMaximum number of parallel tasks for writing data
Which of these is NOT a typical sink connector destination?
ARelational databases
BKafka topics
CFile systems
DSearch indexes
Why must sink connectors handle data format conversion?
ATo match the external system's expected data format
BTo encrypt data before sending
CTo compress data for faster transfer
DTo change Kafka topic names
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.