Description
KIP-610 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.
Attachments
Issue Links
- relates to
-
KAFKA-9971 Error Reporting in Sink Connectors
- Resolved
- links to