{
"name":"jdbc-updatedat",
"config": {
"tasks.max":5,
"connector.class":"io.confluent.connect.jdbc.JdbcSourceConnector",
"connection.url":"jdbc:mysql://10.10.1.90:3306/test?user=test&password=test",
"mode":"timestamp+incrementing",
"incrementing.column.name":"id",
"timestamp.column.name":"updatedAt",
"table.whitelist": ["User","Address","Email"]
}
}Can not deserialize instance of java.lang.String out of START_ARRAY token
at [Source: org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@7e77e40; line: 9, column: 39] (through reference chain: org.apache.kafka.connect.runtime.rest.entities.CreateConnectorRequest["config"]->java.util.LinkedHashMap["table.whitelist"])--
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-platf...@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/f42a86ae-3432-4536-8338-8121572d55f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I think it is just a comma separated string. Something like:"table.whitelist": "User, Address, Email"
On Tue, Jun 13, 2017 at 9:50 AM Basti <ba...@applike.info> wrote:
Hey,--I tried for the first time to use multiple values in table.whitelist. I submitted the following connector json config running version 3.2.1{
"name":"jdbc-updatedat",
"config": {
"tasks.max":5,
"connector.class":"io.confluent.connect.jdbc.JdbcSourceConnector",
"connection.url":"jdbc:mysql://10.10.1.90:3306/test?user=test&password=test",
"mode":"timestamp+incrementing",
"incrementing.column.name":"id",
"timestamp.column.name":"updatedAt",
"table.whitelist": ["User","Address","Email"]
}
}However that results in the following exception and a 500 HTTP responseCan not deserialize instance of java.lang.String out of START_ARRAY token
at [Source: org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@7e77e40; line: 9, column: 39] (through reference chain: org.apache.kafka.connect.runtime.rest.entities.CreateConnectorRequest["config"]->java.util.LinkedHashMap["table.whitelist"])thanks a lot in advance :)
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 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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/confluent-platform/f42a86ae-3432-4536-8338-8121572d55f4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
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/2f1477f1-8f31-4ea9-b4ec-2b395869c520%40googlegroups.com.