on 2021 Apr 15 5:01 AM
kafka-connector cannot connect to sqlanywhere17 with jdbc driver.
i have sajdbc4.jar and libdbjdbc17.so in dirctory /usr/share/java/kafka-connect-jdbc/
{
"connector.class": "io.confluent.connect.jdbc.JdbcSourceConnector", "connection.url": "jdbc:sqlanywhere://host:port/demo?UID=rmoff?PWD=rmoffsql", "mode":"bulk", "topic.prefix":"sql-01-" }'
Thanks in advance
Request clarification before answering.
The problem is the connection URL is incorrectly formed. It should be of the form:
jdbc:sqlanywhere:HOST=host:port;Server=<db_server_name>;DBN=demo;UID=rmoff;PWD=rmoffsql
The Server parameter is optional but strongly recommended. It will be the database server engine name.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
53 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.