kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guozhang Wang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KAFKA-6894) Improve error message when connecting processor with a global store
Date Thu, 10 May 2018 22:50:00 GMT

     [ 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)

Mime
View raw message