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

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

[~NIzhikov] I just realized, that we should do the same thing for global 
stores, within {{GlobalProcessorContextImpl}}. Do you want to do a follow up PR?

> Kafka streams lets the user call init() and close() on a state store, when 
> inside Processors
> --------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-6970
>                 URL: https://issues.apache.org/jira/browse/KAFKA-6970
>             Project: Kafka
>          Issue Type: Bug
>          Components: streams
>            Reporter: James Cheng
>            Assignee: Nikolay Izhikov
>            Priority: Major
>             Fix For: 2.2.0
>
>
> When using a state store within Transform (and Processor and 
> TransformValues), the user is able to call init() and close() on the state 
> stores. Those APIs should only be called by kafka streams itself.
> If possible, it would be good to guard those APIs so that the user cannot 
> call them.



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

Reply via email to