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

Matthias J. Sax commented on KAFKA-4830:
----------------------------------------

Thanks for working on this [~james.c]. As mentioned above, this is a public API 
change and thus we need a KIP: 
https://cwiki.apache.org/confluence/display/KAFKA/Kafka+Improvement+Proposals 
We can discuss the proposed API there. If you need any help writing a KIP -- it 
should not be too hard for this Jira -- just let us know.

> Augment KStream.print() to allow users pass in extra parameters in the 
> printed string
> -------------------------------------------------------------------------------------
>
>                 Key: KAFKA-4830
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4830
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>            Reporter: Guozhang Wang
>            Assignee: james chien
>              Labels: needs-kip, newbie
>
> Today {{KStream.print}} use the hard-coded result string as:
> {code}
> "[" + this.streamName + "]: " + keyToPrint + " , " + valueToPrint
> {code}
> And some users are asking to augment this so that they can customize the 
> output string as {{KStream.print(KeyValueMapper<K, V, String>)}} :
> {code}
> "[" + this.streamName + "]: " + mapper.apply(keyToPrint, valueToPrint)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to