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

Guozhang Wang commented on KAFKA-6265:
--------------------------------------

That's a good point. 

{{KStreamBuilder}} is a deprecated class that has been replaced by 
{{StreamsBuilder}}, but it always passed in a non-null {{storeSupplier.name()}} 
to the {{KTableSourceValueGetterSupplier}} parameter of the 
{{GlobalKTableImpl}} constructor, if this name is generated as {{final String 
internalStoreName = queryableStoreName != null ? queryableStoreName : 
newStoreName(KTableImpl.SOURCE_NAME);}} then we should not return it in 
{{queryableStoreName}}. It is the same logic as in the new class where internal 
store names as of {{nameProvider.newStoreName(generatedStorePrefix)}} should 
not be returned.

> GlobalKTable missing #queryableStoreName()
> ------------------------------------------
>
>                 Key: KAFKA-6265
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6265
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>    Affects Versions: 1.0.0
>            Reporter: Antony Stubbs
>              Labels: beginner, needs-kip, newbie
>
> KTable has the nicely useful #queryableStoreName(), it seems to be missing 
> from GlobalKTable



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to