[
https://issues.apache.org/jira/browse/KAFKA-3729?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16787272#comment-16787272
]
Ted Yu commented on KAFKA-3729:
-------------------------------
The following seems to result in compilation error:
{code}
/Users/yute/kafka/streams/src/main/java/org/apache/kafka/streams/KafkaStreams.java:667:
warning: [unchecked] unchecked call to configure(Map<String,?>,boolean) as a
member of the raw type Serializer
sn.getKeySer().configure(config.originals(), true);
^
/Users/yute/kafka/streams/src/main/java/org/apache/kafka/streams/KafkaStreams.java:668:
warning: [unchecked] unchecked call to configure(Map<String,?>,boolean) as a
member of the raw type Serializer
sn.getValueSer().configure(config.originals(), false);
^
{code}
I wonder how the warnings can be suppressed.
I checked existing calls to configure() which doesn't give me much clue.
> Auto-configure non-default SerDes passed alongside the topology builder
> ------------------------------------------------------------------------
>
> Key: KAFKA-3729
> URL: https://issues.apache.org/jira/browse/KAFKA-3729
> Project: Kafka
> Issue Type: Improvement
> Components: streams
> Reporter: Fred Patton
> Priority: Major
> Labels: api, newbie
> Attachments: 3729.txt
>
>
> From Guozhang Wang:
> "Only default serdes provided through configs are auto-configured today. But
> we could auto-configure other serdes passed alongside the topology builder as
> well."
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)