You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/09/06 09:45:02 UTC

[jira] [Commented] (KAFKA-5817) Add Serialized class and KStream groupBy and groupByKey overloads

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

ASF GitHub Bot commented on KAFKA-5817:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/kafka/pull/3772


> Add Serialized class and KStream groupBy and groupByKey overloads
> -----------------------------------------------------------------
>
>                 Key: KAFKA-5817
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5817
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: streams
>            Reporter: Damian Guy
>            Assignee: Damian Guy
>             Fix For: 1.0.0
>
>
> Add the following classes and methods to {{KStream}}
> {{KGroupedStream<K, V> groupByKey(final Serialized<K, V> serialized)}}
>  
> {{<KR> KGroupedStream<KR, V> groupBy(final KeyValueMapper<? super K, ? super V, KR> selector, Serialized<KR, V> serialized)}}
> {code}
> public class Serialized<K, V> {
>  
>     public static <K, V> Serialized<K, V> with(final Serde<K> keySerde, final Serde<V> valueSerde)
>  
>     public Serialized<K, V> withKeySerde(final Serde<K> keySerde)
>  
>     public Serialized<K, V> withValueSerde(final Serde valueSerde)
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)