Hi,I am using kafka connect to load data from SQL SERVER. After giving the connection details when I am trying to build connection it is giving incorrect port number, though the details are correct. The driver I am using is sqljdbc42.jar. Is there any other driver also I need to add? Do I need to use striim?
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/6a54b7d1-fadd-44ea-b3c8-c36a351f77b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
jdbc:sqlserver://<ip>:<portname>;database=<Databasename>;user=**;password=****
it fetches all the tables from all schemas. I am not able to hit a particular schema.Even if i mention schema name in the connection string still it is not working. Since it fetches all the tables I am getting this error:
ERROR Failed to run query for table TimestampIncrementingTableQuerier{name='AWBuildVersion', query='null', topicPrefix='test-sqlserver-jdbc-Person.Address', timestampColumn='null', incrementingColumn='AddressID'}: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'AddressID'. (io.confluent.connect.jdbc.JdbcSourceTask:239)
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/64430b9e-fc5b-4f13-b495-c1bf512f7669%40googlegroups.com.
It's a little hard to tell if you have done this without the configuration, but have you setup a `table.whitelist` or `table.blacklist` in your connector configuration? There is also a `schema.pattern` option if you want to filter for certain schemas.
On Thu, Dec 8, 2016 at 5:15 AM, ak <akarsh...@gmail.com> wrote:
Hi,I am able to connect to the sqlserver but I am not able to connect to a particular schema, There are many schema in my database. When I give this connection string :jdbc:sqlserver://<ip>:<portname>;database=<Databasename>;user=**;password=****
it fetches all the tables from all schemas. I am not able to hit a particular schema.Even if i mention schema name in the connection string still it is not working. Since it fetches all the tables I am getting this error:
ERROR Failed to run query for table TimestampIncrementingTableQuerier{name='AWBuildVersion', query='null', topicPrefix='test-sqlserver-jdbc-Person.Address', timestampColumn='null', incrementingColumn='AddressID'}: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'AddressID'. (io.confluent.connect.jdbc.JdbcSourceTask:239)
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsubscribe@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/64430b9e-fc5b-4f13-b495-c1bf512f7669%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Confluent Platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/confluent-platform/niQUd4SYwCE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/CACOCneZ-LcZ7zmKODAN7WAV_JrFFEZ6UQ6z0dBszj1Qh5sE4Vw%40mail.gmail.com.
It's a little hard to tell if you have done this without the configuration, but have you setup a `table.whitelist` or `table.blacklist` in your connector configuration? There is also a `schema.pattern` option if you want to filter for certain schemas.
On Thu, Dec 8, 2016 at 5:15 AM, ak <akarsh...@gmail.com> wrote:
Hi,I am able to connect to the sqlserver but I am not able to connect to a particular schema, There are many schema in my database. When I give this connection string :jdbc:sqlserver://<ip>:<portname>;database=<Databasename>;user=**;password=****
it fetches all the tables from all schemas. I am not able to hit a particular schema.Even if i mention schema name in the connection string still it is not working. Since it fetches all the tables I am getting this error:
ERROR Failed to run query for table TimestampIncrementingTableQuerier{name='AWBuildVersion', query='null', topicPrefix='test-sqlserver-jdbc-Person.Address', timestampColumn='null', incrementingColumn='AddressID'}: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'AddressID'. (io.confluent.connect.jdbc.JdbcSourceTask:239)
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsubscribe@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/64430b9e-fc5b-4f13-b495-c1bf512f7669%40googlegroups.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Confluent Platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/confluent-platform/niQUd4SYwCE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/CACOCneZ-LcZ7zmKODAN7WAV_JrFFEZ6UQ6z0dBszj1Qh5sE4Vw%40mail.gmail.com.
To unsubscribe from this group and all its topics, send an email to confluent-platform+unsubscribe@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/CACOCneZ-LcZ7zmKODAN7WAV_JrFFEZ6UQ6z0dBszj1Qh5sE4Vw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/CAPYKfHdFKf7UWXhJ82E9sszYRxevWDneErLx2Z7CALh5sEs4Ng%40mail.gmail.com.
Is there a specific error message you are getting? Would you mind uploading the configuration for the connector? The port should be specified in the `connection.url` property for the connector as described in this example.I'm not sure if you'd need another driver based on the description, but if you are getting the wrong port, then likely it's to do with the `connection.url` setting.
On Tue, Dec 6, 2016 at 7:47 AM, akarshika lowe <akarsh...@gmail.com> wrote:
Hi,I am using kafka connect to load data from SQL SERVER. After giving the connection details when I am trying to build connection it is giving incorrect port number, though the details are correct. The driver I am using is sqljdbc42.jar. Is there any other driver also I need to add? Do I need to use striim?
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsubscribe@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/6a54b7d1-fadd-44ea-b3c8-c36a351f77b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Confluent Platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/confluent-platform/niQUd4SYwCE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/CACOCnebzr7poEsc6ngSAx-nvf%2BgeBvdWYvCxJaXjhh8XeKWXVA%40mail.gmail.com.
Hi,What do you mean by TimestampIncrementingTableQuerier in sqlserver. I am getting this error though i have access to this table "Address".ERROR Failed to run query for table TimestampIncrementingTableQuerier{name='Address', query='null', topicPrefix='test-sqlserver-jdbc-', timestampColumn='null', incrementingColumn='AddressID'}: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'Address'. (io.confluent.connect.jdbc.JdbcSourceTask:239)
On Tue, Dec 6, 2016 at 10:17 PM, Dustin Cote <dus...@confluent.io> wrote:
Is there a specific error message you are getting? Would you mind uploading the configuration for the connector? The port should be specified in the `connection.url` property for the connector as described in this example.I'm not sure if you'd need another driver based on the description, but if you are getting the wrong port, then likely it's to do with the `connection.url` setting.On Tue, Dec 6, 2016 at 7:47 AM, akarshika lowe <akarsh...@gmail.com> wrote:Hi,--I am using kafka connect to load data from SQL SERVER. After giving the connection details when I am trying to build connection it is giving incorrect port number, though the details are correct. The driver I am using is sqljdbc42.jar. Is there any other driver also I need to add? Do I need to use striim?
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsubscribe@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/6a54b7d1-fadd-44ea-b3c8-c36a351f77b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
--
You received this message because you are subscribed to a topic in the Google Groups "Confluent Platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/confluent-platform/niQUd4SYwCE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to confluent-platform+unsubscribe@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/CACOCnebzr7poEsc6ngSAx-nvf%2BgeBvdWYvCxJaXjhh8XeKWXVA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/CAPYKfHcJrdU%3DqHWwnBeSTiz_4H%3DdZkAYzcS0wT3SKa5mU6CVjQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/CAPYKfHcJrdU%3DqHWwnBeSTiz_4H%3DdZkAYzcS0wT3SKa5mU6CVjQ%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Confluent Platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/confluent-platform/niQUd4SYwCE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/CACOCnebzVteLWEFQUMPS%2B4rSQ1fOqYw9oHvkKifN%2BVR2N0VNSg%40mail.gmail.com.
To unsubscribe from this group and all its topics, send an email to confluent-platform+unsubscribe@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/CACOCnebzVteLWEFQUMPS%2B4rSQ1fOqYw9oHvkKifN%2BVR2N0VNSg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/CAPYKfHcyrpQB3vDeXKt7KxhWN308wAYChunsaVx5%3DfwGE%3Di-pg%40mail.gmail.com.
com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'TableName'.
I'm not totally familiar with SQL server JDBC specifically, but StackOverflow would suggest you should be setting the default schema for the user connecting to the database:
On Fri, Dec 16, 2016 at 2:40 AM, akarshika lowe <akarsh...@gmail.com> wrote:
Hi,I am able to connect to the dbo schema, but when I am trying for some other schemas it is not working. I am not able to connect to tables of different schemas except that of dbo in sql server. Like, If i will try for address table in schema Person it is not connecting but if I try for a table in dbo schema it is connecting. So , Is there a way to connect to different shcemas. It is not hitting other schemas.
On Tue, Dec 13, 2016 at 10:33 PM, Dustin Cote <dus...@confluent.io> wrote:
This is the querier specified in the connector. The code for which is here. I'm curious if you can try running against a different table because maybe something is incorrect in the way you have specified the location of the table?
On Tue, Dec 13, 2016 at 4:48 AM, akarshika lowe <akarsh...@gmail.com> wrote:
Hi,What do you mean by TimestampIncrementingTableQuerier in sqlserver. I am getting this error though i have access to this table "Address".ERROR Failed to run query for table TimestampIncrementingTableQuerier{name='Address', query='null', topicPrefix='test-sqlserver-jdbc-', timestampColumn='null', incrementingColumn='AddressID'}: com.microsoft.sqlserver.jdbc.SQLServerException: Invalid object name 'Address'. (io.confluent.connect.jdbc.JdbcSourceTask:239)
On Tue, Dec 6, 2016 at 10:17 PM, Dustin Cote <dus...@confluent.io> wrote:
Is there a specific error message you are getting? Would you mind uploading the configuration for the connector? The port should be specified in the `connection.url` property for the connector as described in this example.I'm not sure if you'd need another driver based on the description, but if you are getting the wrong port, then likely it's to do with the `connection.url` setting.
On Tue, Dec 6, 2016 at 7:47 AM, akarshika lowe <akarsh...@gmail.com> wrote:
Hi,I am using kafka connect to load data from SQL SERVER. After giving the connection details when I am trying to build connection it is giving incorrect port number, though the details are correct. The driver I am using is sqljdbc42.jar. Is there any other driver also I need to add? Do I need to use striim?
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/6a54b7d1-fadd-44ea-b3c8-c36a351f77b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Confluent Platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/confluent-platform/niQUd4SYwCE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/CACOCnebzr7poEsc6ngSAx-nvf%2BgeBvdWYvCxJaXjhh8XeKWXVA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/CAPYKfHcJrdU%3DqHWwnBeSTiz_4H%3DdZkAYzcS0wT3SKa5mU6CVjQ%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Confluent Platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/confluent-platform/niQUd4SYwCE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/CACOCnebzVteLWEFQUMPS%2B4rSQ1fOqYw9oHvkKifN%2BVR2N0VNSg%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Confluent Platform" group.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/CAPYKfHcyrpQB3vDeXKt7KxhWN308wAYChunsaVx5%3DfwGE%3Di-pg%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to confluent-platform+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/CAPYKfHcyrpQB3vDeXKt7KxhWN308wAYChunsaVx5%3DfwGE%3Di-pg%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Confluent Platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/confluent-platform/niQUd4SYwCE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/CACOCneaUTHW%2B_kParQfs0FmxLV3sUoP27zvDdnmw57QdANiM0g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/CAPYKfHcyrpQB3vDeXKt7KxhWN308wAYChunsaVx5%3DfwGE%3Di-pg%40mail.gmail.com.
--
You received this message because you are subscribed to a topic in the Google Groups "Confluent Platform" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/confluent-platform/niQUd4SYwCE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to confluent-platform+unsub...@googlegroups.com.
To post to this group, send email to confluent-platform@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/CACOCneaUTHW%2B_kParQfs0FmxLV3sUoP27zvDdnmw57QdANiM0g%40mail.gmail.com.