kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-4927) KStreamsTestDriver fails with NPE when KStream.to() sinks are used
Date Tue, 09 May 2017 21:33:04 GMT

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

ASF GitHub Bot commented on KAFKA-4927:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/kafka/pull/2716


> 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
>            Assignee: Wim Van Leuven
>              Labels: test
>             Fix For: 0.11.0.0
>
>
> *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)

Mime
View raw message