cancel
Showing results for 
Search instead for 
Did you mean: 

does Sqlanywhere17 support Apache Kafka

0 Kudos
1,155

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

Accepted Solutions (0)

Answers (1)

Answers (1)

chris_keating
Product and Topic Expert
Product and Topic Expert

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.