You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Guozhang Wang (JIRA)" <ji...@apache.org> on 2018/05/10 22:50:00 UTC

[jira] [Resolved] (KAFKA-6894) Improve error message when connecting processor with a global store

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

Guozhang Wang resolved KAFKA-6894.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

> Improve error message when connecting processor with a global store
> -------------------------------------------------------------------
>
>                 Key: KAFKA-6894
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6894
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>    Affects Versions: 1.1.0
>            Reporter: Robert Yokota
>            Assignee: Robert Yokota
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> I was trying to access a store from a {{GlobalKTable}} in {{KStream.transform()}}, but I got the following error:
> {code}
> org.apache.kafka.streams.errors.TopologyException: Invalid topology: StateStore globalStore is not added yet.
> 	at org.apache.kafka.streams.processor.internals.InternalTopologyBuilder.connectProcessorAndStateStore(InternalTopologyBuilder.java:716)
> 	at org.apache.kafka.streams.processor.internals.InternalTopologyBuilder.connectProcessorAndStateStores(InternalTopologyBuilder.java:615)
> 	at org.apache.kafka.streams.kstream.internals.KStreamImpl.transform(KStreamImpl.java:521)
> {code}
> I have submitted a PR to improve the error message.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)