-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
0.9.3.Final
-
None
-
environment:
1) Windows10(16299) WSL-Ubuntu (4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux)
2) remote SQL Server on VM cluster (Microsoft SQL Server 2014 (SP2-CU6) (KB4019094) - 12.0.5553.0 (X64) jun 28 2017 16:26:18 Copyright (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 6.3 <X64> (Build 9600: ) (Hypervisor))
2) Confluent Kafka package (confluent-5.2.1-2.12.tar.tar)
3) debezium-connector-sqlserver-0.9.3.Final-pluginenvironment: 1) Windows10(16299) WSL-Ubuntu (4.4.0-43-Microsoft #1-Microsoft Wed Dec 31 14:42:53 PST 2014 x86_64 x86_64 x86_64 GNU/Linux) 2) remote SQL Server on VM cluster (Microsoft SQL Server 2014 (SP2-CU6) (KB4019094) - 12.0.5553.0 (X64) jun 28 2017 16:26:18 Copyright (c) Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 6.3 <X64> (Build 9600: ) (Hypervisor)) 2) Confluent Kafka package (confluent-5.2.1-2.12.tar.tar) 3) debezium-connector-sqlserver-0.9.3.Final-plugin
error in connect.stdout -->
[2019-04-12 11:15:13,796] ERROR WorkerSourceTask{id=CasinoDB-0} Task threw an uncaught and unrecoverable exception (org.apache.kafka.connect.runtime.WorkerTask:177)
After running the steps to reproduce the topic(dbhistory.casino) is created and populated with information from tb_bob(good news) but I get the following output from the connect log:
roryb@FPRORBOLL1:/tmp/confluent.0YrgUFdz/connect$ cat connect.stdout |grep error
[2019-04-12 11:15:05,229] INFO Requested thread factory for connector SqlServerConnector, id = gamingdb1\inst2 named = error-handler (io.debezium.util.Threads:249) org.apache.kafka.connect.errors.ConnectException: Tolerance exceeded in error handler at org.apache.kafka.connect.runtime.errors.RetryWithToleranceOperator.execAndHandleError(RetryWithToleranceOperator.java:178) at org.apache.kafka.connect.runtime.errors.RetryWithToleranceOperator.execute(RetryWithToleranceOperator.java:104) Caused by: org.apache.kafka.connect.errors.DataException: Failed to serialize Avro data from topic gamingdb1_inst2.dbo.tb_bob : at org.apache.kafka.connect.runtime.errors.RetryWithToleranceOperator.execAndRetry(RetryWithToleranceOperator.java:128) at org.apache.kafka.connect.runtime.errors.RetryWithToleranceOperator.execAndHandleError(RetryWithToleranceOperator.java:162) Caused by: org.apache.kafka.common.errors.SerializationException: Error registering Avro schema: {"type":"record","name":"Key","namespace":"gamingdb1_inst2.dbo.tb_bob","fields":[{"name":"ID","type":"int"}],"connect.name":"gamingdb1_inst2.dbo.tb_bob.Key"} at [Source: (sun.net.www.protocol.http.HttpURLConnection$HttpInputStream); line: 1, column: 1]; error code: 50005 at org.apache.kafka.connect.runtime.errors.RetryWithToleranceOperator.execAndRetry(RetryWithToleranceOperator.java:128) at org.apache.kafka.connect.runtime.errors.RetryWithToleranceOperator.execAndHandleError(RetryWithToleranceOperator.java:162) at org.apache.kafka.connect.runtime.errors.RetryWithToleranceOperator.execute(RetryWithToleranceOperator.java:104)
I have attached the full file - Please let me know if there is anything else I should include...
Thanks
Rory