I have Kafka 3 topics: 1st with actual temperature, 2nd with with actual air pressure and 3rd with requests. Request may be for actual temperature or for actual pressure.
I need system for processing requests. Because joining could became too complex in future, my plan is create 3 Kafka streams:
- one stream mapping temperature to global table "temperature"
- second stream mapping pressure to global table "pressure"
- third to process requests. If request if for temperature I will call
interactiveQueryService.getQueryableStore("temperature",...).get(key)
and respectively same for pressure.
It works, but see warning:
Store ("temperature") could not be found in Streams context, falling back to all known Streams instances
The warning comes from https://github.com/spring-cloud/spring-cloud-stream-binder-kafka/commit/aff0dc00eff4e7740a7e67db3fa5489de684e893
Is my implementation good and warning is misleading or my plan should be modified and the warning is good?