Hello, I'm new to Kafka technologies, and I would like to ask you that, How to allow remote interactive rest based queries *only between Kafka stream application instances?*
I'm developing a spring micro-service application which has four instances in the cloud. It has a rest endpoint access for local stores and also for other business entities. RPC layer is also the same rest endpoint works with 8080 which is tomcat port. Scaled apps will have those ports 8080 8081 8082 8083. My implementation of code finds the specific local store from Kafka streams metadata object and queries particular instance, then returns the value. Everything is so far working well.* But I don't want any user of my application to let query this local stores via rest calls.* There is already a call for entire scope, visiting all stores and returns the requested value. I thought to put some key into the header at the redirection of the store queries. Then the only app instances acknowledgeable with this key. Is there any known similar mechanism in Kafka API? Thank you for your valuable help. Tarik Ozkan