kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damian Guy (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-5817) Add Serialized class and KStream groupBy and groupByKey overloads
Date Thu, 31 Aug 2017 17:41:00 GMT
Damian Guy created KAFKA-5817:
---------------------------------

             Summary: 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
            Reporter: Damian Guy


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)

Mime
View raw message