Description
Even with errors.log.enable set to false, deserialization failures are still logged at ERROR level by the org.apache.kafka.connect.runtime.WorkerSinkTask namespace. This becomes problematic in pipelines with errors.tolerance set to all, and can generate excessive logging of stack traces when deserialization errors are encountered for most if not all of the records being consumed by a sink task.
The logging added to the WorkerSinkTask class in KAFKA-9018 should be removed and, if necessary, any valuable information from it not already present in the log messages generated by Connect with errors.log.enable and errors.log.include.messages set to true should be added in that place instead.
Attachments
Issue Links
- is caused by
-
KAFKA-9018 Kafka Connect - throw clearer exceptions on serialisation errors
-
- Resolved
-
- links to