You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Eugen Feller (JIRA)" <ji...@apache.org> on 2018/09/21 18:43:00 UTC

[jira] [Created] (KAFKA-7430) Improve Transformer interface JavaDoc

Eugen Feller created KAFKA-7430:
-----------------------------------

             Summary: 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: 2.0.0, 1.1.1, 0.11.0.3, 0.10.2.2
            Reporter: Eugen Feller


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)