[
https://issues.apache.org/jira/browse/KAFKA-10720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mickael Maison resolved KAFKA-10720.
------------------------------------
Fix Version/s: 2.8.0
Resolution: Fixed
> Add note to Transformation docs to avoid mutating records or their members
> --------------------------------------------------------------------------
>
> Key: KAFKA-10720
> URL: https://issues.apache.org/jira/browse/KAFKA-10720
> Project: Kafka
> Issue Type: Improvement
> Components: KafkaConnect
> Reporter: Chris Egerton
> Assignee: Tom Bentley
> Priority: Major
> Fix For: 2.8.0
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)