Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-10720

Add note to Transformation docs to avoid mutating records or their members

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0
    • connect
    • None

    Description

      The public documentation for the Transformation interface does not mention whether an SMT should or should not mutate records or their members (such as their values or headers), but there's some logic in the Connect framework that relies on SMTs not doing this, such as the invocation of `SourceTask::commitRecord` with a pre-transformation record in some cases.

      We should consider adding a note about not modifying records or their members to the public-facing documentation for the Transformation interface.

      Attachments

        Issue Links

          Activity

            People

              tombentley Tom Bentley
              ChrisEgerton Chris Egerton
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: