Description
Today KStream.print use the hard-coded result string as:
"[" + this.streamName + "]: " + keyToPrint + " , " + valueToPrint
And some users are asking to augment this so that they can customize the output string as KStream.print(KeyValueMapper<K, V, String>) :
"[" + this.streamName + "]: " + mapper.apply(keyToPrint, valueToPrint)
Original KIP-132: https://cwiki.apache.org/confluence/display/KAFKA/KIP-132%3A+Augment+KStream.print+to+allow+extra+parameters+in+the+printed+string
Duplicating KIP-160: https://cwiki.apache.org/confluence/display/KAFKA/KIP-160%3A+Augment+KStream.print%28%29+to+allow+users+pass+in+extra+parameters+in+the+printed+string
Attachments
Issue Links
- is blocked by
-
KAFKA-4772 Exploit #peek to implement #print() and other methods
- Resolved
- links to
- mentioned in
-
Page Loading...