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

Add property to control if quarkus-zeebe-client is enabled or not #271

Closed
forszpanen opened this issue May 13, 2024 · 3 comments
Closed

Comments

@forszpanen
Copy link

Hello :) we have use a case where Camunda Self-Managed is deployed only to some environments. Each env has more restrictions so aren't available at this same time. When dependency to quarkus-zeebe is added, client tries to connect by grpc and when there is no zeebe-gateway available application stops. I found that Spring-zeebe-client has sth similar:
https://github.com/camunda-community-hub/spring-zeebe?tab=readme-ov-file#disabling-zeebeclient
but https://github.com/camunda-community-hub/spring-zeebe/blob/main/spring-client-zeebe/src/main/java/io/camunda/zeebe/spring/client/event/ZeebeClientCreatedEvent.java uses a different approach compare to quarkus-zeebe as I understand. Base on that I have a few questions:

  1. What would you suggest to do if application stops when there is no Camunda engine configured? Add custom ZeebeHealthCheck or handle global exception?
  2. What do you think about this property zeebe.client.enabled to have it in quarkus-zeebe? If you agree, what could be an idea how to do it? "Empty" implementation for ZeebeClientImpl? @andrejpetras
@andrejpetras
Copy link
Member

Duplicate of #169

@andrejpetras andrejpetras marked this as a duplicate of #169 May 16, 2024
@andrejpetras
Copy link
Member

Duplicate of #169

@marcinstankiewicz
Copy link

I need to reopen this topic.
I'm using new release 1.5.0 and if i put new variable quarkus.zeebe.active=false then my service pod (which is using quarkus-zeebe) is not starting due to health check.
With quarkus.zeebe.active=true everything is ok.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants