I am using
nats.io for micro service api calls.
In distributed environment, I want to connect specific node/pod based on hashcode.
is this possible in nats.
for example :
There is eCommerce application which supports multiple vendors to sell their products.
Product category might be dynamically updated. if new Product catalog added, all API requests supposed to go to one specific node/Pod.
Here,
we are expecting first request can go to any specific Node/Pod. Next time onwards same request should go to specific Node/Pod. Current system is implemented with legacy manner. each hash code gets cached at LB pool and routes to specific node. We need to try this use case for nats. What is better suggestion here.