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

Guozhang Wang commented on KAFKA-7654:
--------------------------------------

For 3), the main caveat is because of Java's type erasure, we cannot always 
infer the types after some operations. For example, if you do {{stream.map()}} 
which may change both keys and values, we cannot tell if the mapped keys or 
values are still JSon or has been transformed to another type: there are some 
operators that we are sure no types would be changed and hence we can still use 
the serde, but generally speaking we cannot always propagate the serde passed 
in from source throughout the topology.

> Relax requirements on serializing-only methods.
> -----------------------------------------------
>
>                 Key: KAFKA-7654
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7654
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>            Reporter: Bruno Bieth
>            Priority: Major
>
> Methods such as KStream#to shouldn't require a Produced as only the 
> serializing part is ever used.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to