0
0
Kafkadevops~5 mins

Connector configuration in Kafka - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a Kafka Connector configuration?
It is a set of settings that tell Kafka Connect how to connect to a data source or sink, what data to move, and how to handle it.
Click to reveal answer
beginner
Name two essential properties in a Kafka Connector configuration.
1. "connector.class": specifies the connector plugin to use.<br>2. "tasks.max": defines the maximum number of tasks to run in parallel.
Click to reveal answer
beginner
What does the topics property specify in a source connector configuration?
It lists the Kafka topics where the connector will write the data it reads from the source system.
Click to reveal answer
intermediate
How do you specify the connection details to a database in a JDBC source connector configuration?
You use properties like connection.url, connection.user, and connection.password to provide the database URL, username, and password.
Click to reveal answer
intermediate
Why is the tasks.max property important in connector configuration?
It controls how many parallel tasks the connector can run, which affects throughput and resource use. Setting it too low limits speed; too high may overload the system.
Click to reveal answer
Which property defines the connector plugin to use in Kafka Connect?
Aconnector.class
Btasks.max
Ctopics
Dconnection.url
What does the 'tasks.max' property control?
AKafka topic name
BDatabase connection timeout
CConnector plugin version
DMaximum number of parallel tasks
In a source connector, the 'topics' property specifies:
AMaximum tasks
BWhere to write data in Kafka
CConnector class name
DWhere to read data from Kafka
Which property is NOT typically part of a JDBC source connector configuration?
Atopics.max
Bconnection.user
Cconnection.password
Dconnection.url
Why should you carefully set 'tasks.max'?
ATo specify the connector class
BTo set the Kafka topic name
CTo balance throughput and resource use
DTo define the database URL
Explain the role of the 'connector.class' and 'tasks.max' properties in Kafka Connector configuration.
Think about what tells Kafka Connect what to do and how many workers to use.
You got /3 concepts.
    Describe how you would configure a JDBC source connector to connect to a database and write data to Kafka topics.
    Focus on connection details and where data goes.
    You got /4 concepts.