-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
0.9.3.Final
-
None
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