Bill Bejeck created KAFKA-14388:
-----------------------------------

             Summary: NPE When Retrieving StateStore with new Processor API
                 Key: KAFKA-14388
                 URL: https://issues.apache.org/jira/browse/KAFKA-14388
             Project: Kafka
          Issue Type: Bug
    Affects Versions: 3.3.1, 3.3.0
            Reporter: Bill Bejeck
            Assignee: Bill Bejeck
             Fix For: 3.4.0


Using the new Processor API introduced with KIP-820 when adding a state store 
to the Processor when executing `context().getStore("store-name")` always 
returns `null` as the store is not in the `stores` `HashMap` in the 
`ProcessorStateManager`.  This occurs even when using the 
`ConnectedStoreProvider.stores()` method

I've confirmed the store is associated with the processor by viewing the 
`Topology` description.   

>From some initial triage, it looks like the store is never registered.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to