You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Damian Guy (JIRA)" <ji...@apache.org> on 2017/08/31 17:41:00 UTC
[jira] [Created] (KAFKA-5817) Add Serialized class and KStream
groupBy and groupByKey overloads
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)