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
I’m currently testing and want to write data from MySQL-CDC to another database through an API. This database could be MySQL, PostgreSQL, or Oracle. However, I noticed that the official documentation specifies using JDBC for the sink. When I include "plugin_name": "JDBC" in my API, it doesn’t get recognized.
{
"env": {
"parallelism": 1,
"job.mode": "STREAMING",
"checkpoint.interval": 10000
},
"source": [
{
"plugin_name": "MySQL-CDC",
"base-url": "jdbc:mysql://192.168.11.1:3306/bz",
"username": "root",
"password": "123456",
"table-names": [
"bdczz.test"
],
"driver": "com.mysql.cj.jdbc.Driver"
}
],
"sink": [
{
"plugin_name": "JDBC",
"url": "jdbc:mysql://192.168.11.1:3306/bd",
"driver":"com.mysql.cj.jdbc.Driver",
"username": "root",
"password": "123456",
"table": "test"
}
]
}
mistake:
{
"status": "fail",
"message": "ErrorCode:[API-06], ErrorDescription:[Factory initialize failed] - Unable to create a sink for identifier 'JDBC'."
}
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I’m currently testing and want to write data from MySQL-CDC to another database through an API. This database could be MySQL, PostgreSQL, or Oracle. However, I noticed that the official documentation specifies using JDBC for the sink. When I include "plugin_name": "JDBC" in my API, it doesn’t get recognized.
{
"env": {
"parallelism": 1,
"job.mode": "STREAMING",
"checkpoint.interval": 10000
},
"source": [
{
"plugin_name": "MySQL-CDC",
"base-url": "jdbc:mysql://192.168.11.1:3306/bz",
"username": "root",
"password": "123456",
"table-names": [
"bdczz.test"
],
"driver": "com.mysql.cj.jdbc.Driver"
}
],
"sink": [
{
"plugin_name": "JDBC",
"url": "jdbc:mysql://192.168.11.1:3306/bd",
"driver":"com.mysql.cj.jdbc.Driver",
"username": "root",
"password": "123456",
"table": "test"
}
]
}
mistake:
{
"status": "fail",
"message": "ErrorCode:[API-06], ErrorDescription:[Factory initialize failed] - Unable to create a sink for identifier 'JDBC'."
}
Beta Was this translation helpful? Give feedback.
All reactions