Reputation: 257
I am new to kafka connect, trying to build a pipeline to get data from sqlite to kafka topic.
Upvotes: -1
Views: 996
Reputation: 32100
Assuming your sqlite DB is at /tmp/test.db
then use this config:
{
"name": "jdbc-source",
"config": {
"connector.class": "io.confluent.connect.jdbc.JdbcSourceConnector",
"tasks.max": "1",
"connection.url": "jdbc:sqlite:/tmp/test.db",
"mode": "incrementing",
"incrementing.column.name": "id",
"topic.prefix": "test-sqlite-jdbc-",
"name": "jdbc-source"
}
}
For more details, see :
Upvotes: 2