Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does Zeebe build a gateway cluster to achieve high availability. io. camunda. zeebe. client. ZeebeClientBuilder. Gatewayaddress (string) can only be configured with one gateway. How can a Zeebe hang without affecting its use. Can I provide deployment documents? #9413

Closed
bugbugmaker opened this issue May 19, 2022 · 4 comments
Labels
blocker/info Marks an issue as blocked, awaiting more information from the author kind/feature Categorizes an issue or PR as a feature, i.e. new behavior

Comments

@bugbugmaker
Copy link

How does Zeebe build a gateway cluster to achieve high availability. io. camunda. zeebe. client. ZeebeClientBuilder. Gatewayaddress (string) can only be configured with one gateway. How can a Zeebe hang without affecting its use. Can I provide deployment documents?

@bugbugmaker bugbugmaker added the kind/feature Categorizes an issue or PR as a feature, i.e. new behavior label May 19, 2022
@lenaschoenburg
Copy link
Member

Hey @bugbugmaker 👋

If I understand correctly you have multiple gateways in you cluster and would like to configure the Java client to use more than one gateway for reliability in case gateways become unavailable.

You are right that this is currently not supported in the Java client (or any other client as far as I know). We generally recommend to put multiple gateways behind some sort of load balancing. This hides all the complexity of handling multiple gateways from the client and also allows for dynamically changing the number of gateways as needed without adjusting the client configuration. This is also exactly what we do on Camunda Cloud.

Would this be an option for you?

@Zelldon Zelldon added the blocker/info Marks an issue as blocked, awaiting more information from the author label May 25, 2022
@bugbugmaker
Copy link
Author

Hey @bugbugmaker 👋

If I understand correctly you have multiple gateways in you cluster and would like to configure the Java client to use more than one gateway for reliability in case gateways become unavailable.

You are right that this is currently not supported in the Java client (or any other client as far as I know). We generally recommend to put multiple gateways behind some sort of load balancing. This hides all the complexity of handling multiple gateways from the client and also allows for dynamically changing the number of gateways as needed without adjusting the client configuration. This is also exactly what we do on Camunda Cloud.

Would this be an option for you?

"We generally recommend to put multiple gateways behind some sort of load balancing. "
I don't quite understand what this means. Can you explain it in detail?

@lenaschoenburg
Copy link
Member

Let's take the official helm charts for example. There, all gateways are accessible from the same Kubernetes service. The client is then configured for the k8s service and doesn't need to know about individual gateways.

We also have two places that are a bit better suited for questions: The community forum and slack community

@Zelldon
Copy link
Member

Zelldon commented Jun 3, 2022

I think the question is answered so I will close this for now. If something is unclear you can always reopen it.

@Zelldon Zelldon closed this as completed Jun 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker/info Marks an issue as blocked, awaiting more information from the author kind/feature Categorizes an issue or PR as a feature, i.e. new behavior
Projects
None yet
Development

No branches or pull requests

3 participants