kafka icon indicating copy to clipboard operation
kafka copied to clipboard

[KAFKA-16069] Source Tasks re-transform records after Retriable exceptions

Open wasniksudesh opened this issue 2 years ago • 0 comments

If producer.send() throws a retriableException, exactly one single record would've been transformed (but not delivered). Simply storing SourceRecord and ProducerRecord (obtained after transformations and conversion) of this iteration should be enough.

In next "sendRecords()", this stored information is used to potentially skip re-transformation and re-conversion of this record.

Summary of testing strategy (including rationale) for the feature or bug fix. Unit and/or integration tests are expected for any behaviour change and system tests should be considered for larger changes.

Committer Checklist (excluded from commit message)

  • [ ] Verify design and implementation
  • [ ] Verify test coverage and CI build status
  • [ ] Verify documentation (including upgrade notes)

wasniksudesh avatar Feb 14 '24 19:02 wasniksudesh