Randall Hauch created KAFKA-10111: ------------------------------------- Summary: SinkTaskContext.errantRecordReporter() added in KIP-610 should be a default method Key: KAFKA-10111 URL: https://issues.apache.org/jira/browse/KAFKA-10111 Project: Kafka Issue Type: Bug Components: KafkaConnect Affects Versions: 2.6.0 Reporter: Randall Hauch Assignee: Randall Hauch Fix For: 2.6.0
[KIP-610|https://cwiki.apache.org/confluence/display/KAFKA/KIP-610%3A+Error+Reporting+in+Sink+Connectors] added a new `errantRecordReporter()` method to `SinkTaskContext`, but the KIP didn't make this method a default method. While the AK project can add this method to all of its implementations (actual and test), other projects such as connector projects might have their own mock implementations just to help test the connector implementation. That means when those projects upgrade, they'd get compilation problems for their own implementations of `SinkTaskContext`. Making this method default will save such problems with downstream projects, and is actually easy since the method is already defined to return null if no reporter is configured. -- This message was sent by Atlassian Jira (v8.3.4#803005)