Comments (2)
I believe I'm currently dealing with this...
{
"name": "my-jdbc-connector",
"config": {
"connector.class": "io.confluent.connect.jdbc.JdbcSourceConnector",
"tasks.max": "1",
"connection.url": "jdbc:sqlserver://xxx/xxx",
"connection.user": "xxx",
"connection.password": "xxx",
"mode": "incrementing",
"incrementing.column.name": "id",
"topic.prefix": "jdbc-",
"name": "my-jdbc-connector",
"table.whitelist": "dbo.xxx",
}
}
$ confluent load my-jdbc-connector -d my-config.json
[...]
Missing 'name' property from connectors properties file.
I would only guess that it's a JDBC driver error? (As SQL Server driver does not come stock) Still investigating here.
Update: Turns out it was that pesky extra ,
at the end of the table.whitelist
entry. Proper error codes are shown now.
from confluent-cli.
Related to the above - if I have malformed JSON, the error is
Missing 'name' property from connectors properties file.
But name
is present - it's just the config elsewhere is screwy (in this case a split-line _comment
).
{
"name": "jdbc_source_mysql_foo_01",
"config": {
"_comment": "
",
"connector.class": "io.confluent.connect.jdbc.JdbcSourceConnector",
"_comment": "",
"key.converter": "io.confluent.connect.avro.AvroConverter",
"_comment": "",
"key.converter.schema.registry.url": "http://localhost:8081",
"_comment": "",
"value.converter": "io.confluent.connect.avro.AvroConverter",
"_comment": "",
"value.converter.schema.registry.url": "http://localhost:8081",
"_comment": "",
"connection.url": "jdbc:mysql://localhost:3306/demo?user=rmoff&password=pw",
"_comment": "",
"table.whitelist": "foo",
"_comment": "",
"mode": "incrementing",
"_comment": "",
"validate.non.null": "false",
"_comment": "",
"incrementing.column.name": "c1",
"_comment": "",
"topic.prefix": "mysql2-"
}
}
from confluent-cli.
Related Issues (20)
- confluent connect fail to start
- confluent status does not report the status of Zookeeper started by zookeeper-server-start
- Confluent CLI and Java 11 HOT 3
- Is this repository deprecated? HOT 1
- ERROR [main] found topic=_confluent-controlcenter
- Confluent CLI can't support arm64 HOT 2
- uent HOT 1
- Filing issues for the new proprietary Confluent CLI HOT 2
- Invoking "confluent local services start" fails (requires Java version 1.8 or 1.11) with OpenJDK 14.0.2 HOT 1
- Printed to "failed to start". But is UP. It's not Down. HOT 4
- Error: macOS version >= 10.13 is required using Big Sur HOT 5
- Kafka service goes down and never up again.
- Doesn't support M1 Mac HOT 6
- Getting available versions S3 hangs on no connectivity HOT 2
- confluent local services start exit status 1
- Unable to start confluent on my local HOT 2
- Invalid connector class. Check the connector configuration file. -- More details needed HOT 2
- Error creating a api-key to my ksqldb resource
- Error changing environments
- Misleading error output when not logged in HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from confluent-cli.