PhilHardwick opened a new pull request #10921:
URL: https://github.com/apache/kafka/pull/10921


   When a new thread is added the queryable store providers continues to use 
the store providers it was given when KafkaStreams was instantiated.
   
   I wanted to keep QueryableStoreProviders immutable, so this meant I had to 
make the queryableStoreProvider field in KafkaStreams class mutable to allow 
this change.
   
   This is tested via an integration test where, after adding a thread, 
producing messages with different keys shows that, with the previous code, the 
keys are not in the store and after the change they are queryable.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to