Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-8006

Guard calls to init() and close() within user code

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: streams
    • Labels:

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ableegoldman Sophie Blee-Goldman
                Reporter:
                mjsax Matthias J. Sax
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: