[
https://issues.apache.org/jira/browse/KAFKA-3589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15250801#comment-15250801
]
ASF GitHub Bot commented on KAFKA-3589:
---------------------------------------
GitHub user guozhangwang opened a pull request:
https://github.com/apache/kafka/pull/1246
KAFKA-3589: set inner serializer for ChangedSerde upon initialization
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/guozhangwang/kafka K3589
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/1246.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 #1246
----
commit b75faa63a9af73fc5ba506666291cdd6abe2f1e6
Author: Guozhang Wang <[email protected]>
Date: 2016-04-20T22:00:19Z
v1
----
> KTable.count(final KeyValueMapper<K, V, K1> selector, String name) throw NPE
> ----------------------------------------------------------------------------
>
> Key: KAFKA-3589
> URL: https://issues.apache.org/jira/browse/KAFKA-3589
> Project: Kafka
> Issue Type: Bug
> Components: streams
> Affects Versions: 0.10.0.0
> Reporter: Damian Guy
> Assignee: Guozhang Wang
> Labels: architecture
> Fix For: 0.10.0.0
>
>
> The implementation of KTable.count(inal KeyValueMapper<K, V, K1> selector,
> String name) passes null through as the parameters for the key and value
> serdes. This results in an NPE in the aggregate method when it does:
> ChangedSerializer<V1> changedValueSerializer = new
> ChangedSerializer<>(valueSerde.serializer());
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)