You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/11/27 18:52:00 UTC

[jira] [Commented] (KAFKA-6274) Improve KTable Source state store auto-generated names

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

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

GitHub user guozhangwang opened a pull request:

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

    KAFKA-6274: Use topic plus dash as prefix of auto-generated state store names

    Use `topic-` as the prefix of the auto-generated state store name.
    
    Also add a unit test for this functionality. 
    
    ### Committer Checklist (excluded from commit message)
    - [ ] Verify design and implementation 
    - [ ] Verify test coverage and CI build status
    - [ ] Verify documentation (including upgrade notes)


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/guozhangwang/kafka K6274-table-source-store-name

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/4268.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #4268
    
----

----


> Improve KTable Source state store auto-generated names
> ------------------------------------------------------
>
>                 Key: KAFKA-6274
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6274
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>            Reporter: Guozhang Wang
>            Assignee: Guozhang Wang
>
> When the source KTable is generated without the store name specified, the auto-generated store name use {{topic}} as the store name prefix. This would generate the store name as
> {code}
> Processor: KTABLE-SOURCE-0000000031 (stores: [windowed-node-countsSTATE-STORE-0000000029])
>       --> none
>       <-- KSTREAM-SOURCE-0000000030
> {code}
> We'd better improve the auto-generated store name as {{[topic-name]-STATE-STORE-suffix}}.



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