[
https://issues.apache.org/jira/browse/KAFKA-5817?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16160962#comment-16160962
]
ASF GitHub Bot commented on KAFKA-5817:
---------------------------------------
GitHub user dguy opened a pull request:
https://github.com/apache/kafka/pull/3825
KAFKA-5817: [FOLLOW-UP] add SerializedInternal
Add `SerializedInternal` class and remove getters from `Serialized`
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dguy/kafka kafka-5817-follow-up
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/3825.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #3825
----
commit 3d6b53e0c56880313e00f68d94be070d071789c3
Author: Damian Guy <[email protected]>
Date: 2017-09-11T09:19:34Z
add SerializedInternal
----
> 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)