Hi we have implemented an api using cursor but in ...
# troubleshooting
s
Hi we have implemented an api using cursor but in our current deployment we have two brokers running, now if the cursor response is stored in broker 1 and the api lands on broker 1 we get the response but if the api lands on broker 0 we are getting 404 any quick soultion to tackle this
p
s
• Cursors are broker-affine; follow-up requests must go back to the same broker. This is the thing which I want to implement . We have 2 broker pods and the are running behind a svc which is accesed by the api so how can we make sure that the request goes to the same pod where the cursor response is stored
x
I would just expose each broker with a dns name for cursor usage
Or you can just expose 3 brokers for cursor usage only