-
Notifications
You must be signed in to change notification settings - Fork 113
Health check #617
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
Health check #617
Conversation
src/main/java/com/uber/cadence/serviceclient/WorkflowServiceTChannel.java
Show resolved
Hide resolved
src/main/java/com/uber/cadence/serviceclient/WorkflowServiceTChannel.java
Outdated
Show resolved
Hide resolved
src/main/java/com/uber/cadence/serviceclient/WorkflowServiceTChannel.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM(except that the name of isHealthy
may be misleading for caller.
@mkolodezny @meiliang86 do you also want to take a look?
This PR should be safe to land -- it introduces a new optional API in worker/workerFactory and doesn't change any existing behavior.
@AngerM-DD thank you for the contribution.
…-workflow#617)" This reverts commit 63a34bc.
new files undo defaultContextProp changes remove bad calls to method no longer in this pr remove health check from this PR remove default adding of otel Add Health check API to worker and service interface (cadence-workflow#617)
This adds a health check to the cadence-java sdk. It is useful is k8s environments where you pass in a DNS name as opposed to an IP address. This change allows you to detect if the client can no longer connect to the cadence servers and attempt to re-resolve the dns name if one was used.