Replies: 1 comment 5 replies
|
If you know which cluster the consumer is in apriori, I would create a DNS entry that is used by consuming apps that only resolves to the servers in that cluster. If this information is dynamic, use cluster info to determine which cluster the consumer is in. |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I have an R3 cluster running on GKE in GCP. Since inter-zone network costs are high, how can I design a cluster (or super-cluster) in a way where my Jetstream consumers are always reading from a nats-server in the same zone as my consuming pod?
What will happen if the pod hosting my consumer dies, and a new pod starts consuming from a different zone, will the consumer leader eventually be moved to that new zone? Is there a way I can force that?
All reactions