[ 
https://issues.apache.org/jira/browse/KAFKA-7430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16624043#comment-16624043
 ] 

ASF GitHub Bot commented on KAFKA-7430:
---------------------------------------

efeller opened a new pull request #5675: KAFKA-7430: Improve Transformer 
interface JavaDoc
URL: https://github.com/apache/kafka/pull/5675
 
 
   This PR improves the JavaDoc of the transformer interface. See 
https://issues.apache.org/jira/browse/KAFKA-7430 for more details.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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)

Reply via email to