You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Kyle Winkelman (JIRA)" <ji...@apache.org> on 2017/05/09 18:26:04 UTC

[jira] [Commented] (KAFKA-5205) CachingSessionStore doesn't use the default keySerde.

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

Kyle Winkelman commented on KAFKA-5205:
---------------------------------------

I have already made a PR but originally named it minor. I have now opened a Jira to get this bug more visibility. https://github.com/apache/kafka/pull/2963

> CachingSessionStore doesn't use the default keySerde.
> -----------------------------------------------------
>
>                 Key: KAFKA-5205
>                 URL: https://issues.apache.org/jira/browse/KAFKA-5205
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>    Affects Versions: 0.10.2.0
>            Reporter: Kyle Winkelman
>            Assignee: Kyle Winkelman
>
> CachingSessionStore wasn't properly using the default keySerde if no Serde was supplied. I saw the below error in the logs for one of my test cases.
> ERROR stream-thread [cogroup-integration-test-3-5570fe48-d2a3-4271-80b1-81962295553d-StreamThread-6] Streams application error during processing: (org.apache.kafka.streams.processor.internals.StreamThread:335)
> java.lang.NullPointerException
> at org.apache.kafka.streams.state.internals.CachingSessionStore.findSessions(CachingSessionStore.java:93)
> at org.apache.kafka.streams.kstream.internals.KStreamSessionWindowAggregate$KStreamSessionWindowAggregateProcessor.process(KStreamSessionWindowAggregate.java:94)
> at org.apache.kafka.streams.processor.internals.ProcessorNode$1.run(ProcessorNode.java:47)
> at org.apache.kafka.streams.processor.internals.StreamsMetricsImpl.measureLatencyNs(StreamsMetricsImpl.java:187)
> at org.apache.kafka.streams.processor.internals.ProcessorNode.process(ProcessorNode.java:133)
> at org.apache.kafka.streams.processor.internals.ProcessorContextImpl.forward(ProcessorContextImpl.java:82)
> at org.apache.kafka.streams.processor.internals.SourceNode.process(SourceNode.java:69)
> at org.apache.kafka.streams.processor.internals.StreamTask.process(StreamTask.java:206)
> at org.apache.kafka.streams.processor.internals.StreamThread.processAndPunctuate(StreamThread.java:657)
> at org.apache.kafka.streams.processor.internals.StreamThread.runLoop(StreamThread.java:728)
> at org.apache.kafka.streams.processor.internals.StreamThread.run(StreamThread.java:327)



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)