Closed SIGINT closed 2 years ago
I was able to find the culprit by changing Kafka Connect's log level to TRACE
. It ended up being unexpected invalid schema errors for some records in Kafka. When the write response from BigQuery contains invalid schema errors, the following is logged in onlyContainsInvalidSchemaErrors()
:
logger.trace("write response contained errors: \n{}", errors);
While attempting to use kafka-connect-bigquery connector, we see the following error in tasks running in Kafka connect after a period of time:
The error is confusing and doesn't offer any additional insight into the cause of the problem. I don't think the culprit could relate to table creation or schema updates because we manually set up the table along with its schema ahead of time. How do we determine what is causing our connector tasks to fail in this fashion? Thanks in advance