[ https://issues.apache.org/jira/browse/KAFKA-7430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias J. Sax reassigned KAFKA-7430: -------------------------------------- Assignee: Eugen Feller > Improve Transformer interface JavaDoc > ------------------------------------- > > Key: KAFKA-7430 > URL: https://issues.apache.org/jira/browse/KAFKA-7430 > Project: Kafka > Issue Type: Improvement > Components: streams > Affects Versions: 0.10.2.2, 0.11.0.3, 1.1.1, 2.0.0 > Reporter: Eugen Feller > Assignee: Eugen Feller > Priority: Trivial > Labels: stream > > Currently Transformer JavaDoc mentions that it is possible to use both > ctx.forward() and returning a KeyValue(). It would be great if we could > mention that returning a KeyValue is merely a convenience thing. In other > words, everything can be achieved using ctx.forward(): > "return new KeyValue()" and "ctx.forward(); return null;" are equivalent. -- This message was sent by Atlassian JIRA (v7.6.3#76005)