Complete the code to specify the connector class for JDBC source.
connector.class=[1]
The JDBC source connector class is io.confluent.connect.jdbc.JdbcSourceConnector. It allows Kafka Connect to read data from a relational database.
Complete the code to specify the S3 sink connector class.
connector.class=[1]
The S3 sink connector class is io.confluent.connect.s3.S3SinkConnector. It writes Kafka data to Amazon S3 storage.
Fix the error in the connector class for Elasticsearch sink.
connector.class=[1]
The correct class for Elasticsearch sink connector is io.confluent.connect.elasticsearch.ElasticsearchSinkConnector. There is no official Elasticsearch source connector in this package.
Fill both blanks to configure the JDBC connector to connect to a MySQL database.
connection.url=[1] connection.user=[2]
The JDBC URL for MySQL looks like jdbc:mysql://localhost:3306/mydb. The username is often root for local MySQL setups.
Fill all three blanks to configure the Elasticsearch sink connector with topic and connection details.
topics=[1] connection.url=[2] index.name.format=[3]
The topics property specifies the Kafka topic to read from. The connection.url is the Elasticsearch server address. The index.name.format configures the target index name in Elasticsearch.