You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ERROR [jdbc-sqlserver-sink|task-0] WorkerSinkTask{id=jdbc-sqlserver-sink-0} Task is being killed and will not recover until manually restarted (org.apache.kafka.connect.runtime.WorkerTask:188)
#1406
Open
icaroperetti opened this issue
Apr 2, 2024
· 0 comments
I'm trying to insert data from a mysql to sqlserver but my connector is getting the status 'degradade'. I also get this message "com.microsoft.sqlserver.jdbc.SQLServerException: Database 'mysql-server' does not exist".
I'm trying to insert data from a mysql to sqlserver but my connector is getting the status 'degradade'. I also get this message "com.microsoft.sqlserver.jdbc.SQLServerException: Database 'mysql-server' does not exist".
I tried multiple configuration but none solved it
mysql.properties
name=mysql-connector
connector.class=io.debezium.connector.mysql.MySqlConnector
tasks.max=1
database.user=root
database.server.name=mysql-server
database.hostname=mysql
database.password=root
database.history.kafka.bootstrap.servers=kafka:9092
database.history.kafka.topic=history
database.port=3306
jdbc-sink.properties
name=jdbc-sqlserver-sink
connector.class=io.confluent.connect.jdbc.JdbcSinkConnector
tasks.max=1
topics=mysql-server.products.products
connection.url=jdbc:sqlserver://host.docker.internal:1433;databaseName=products
connection.user=sa
connection.password=password
insert.mode=upsert
auto.create=true
auto.evolve=false
transforms=unwrap
transforms.unwrap.type=io.debezium.transforms.ExtractNewRecordState
pk.fields=id
pk.mode=record_value
value.converter.schemas.enable=false
key.converter.schemas.enable=false
The text was updated successfully, but these errors were encountered: