You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (JIRA)" <ji...@apache.org> on 2019/02/27 03:08:00 UTC

[jira] [Commented] (KAFKA-8006) Guard calls to init() and close() within user code

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

Matthias J. Sax commented on KAFKA-8006:
----------------------------------------

This ticket is a follow up to KAFKA-6970 that added guards for regular stores.

> Guard calls to init() and close() within user code
> --------------------------------------------------
>
>                 Key: KAFKA-8006
>                 URL: https://issues.apache.org/jira/browse/KAFKA-8006
>             Project: Kafka
>          Issue Type: Improvement
>          Components: streams
>            Reporter: Matthias J. Sax
>            Priority: Major
>              Labels: beginner, newbie
>
> When using a global state store within the provided Processor, the user is able to call init() and close() on the state stores. Those APIs should only be called by Kafka Streams runtime but not by the user.
> We should guard those APIs so that the user cannot call them.



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