You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ewen Cheslack-Postava (JIRA)" <ji...@apache.org> on 2017/04/04 00:08:41 UTC

[jira] [Updated] (KAFKA-4927) KStreamsTestDriver fails with NPE when KStream.to() sinks are used

     [ https://issues.apache.org/jira/browse/KAFKA-4927?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ewen Cheslack-Postava updated KAFKA-4927:
-----------------------------------------
    Fix Version/s:     (was: 0.10.2.0)

Removed already released version from fix version field.

> KStreamsTestDriver fails with NPE when KStream.to() sinks are used
> ------------------------------------------------------------------
>
>                 Key: KAFKA-4927
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4927
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>    Affects Versions: 0.10.2.0
>            Reporter: Wim Van Leuven
>              Labels: test
>
> *Context*
> KStreamsTestDriver allows to build integration tests of KStreamsTopologies. This also includes topologies that sink data into outgoing topics by calling the KStream.to() methods.
> *Problem*
> When a topic is added as a sink, the KStreamsTestDriver fails with NullPointerExceptions. 
> *Solution*
> BugFix the method KStreamTestDriver.process() method to also lookup a topic  by topicName as a sink when a source has not been found.
> *PullRequest*



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