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)

Reply via email to