-
Notifications
You must be signed in to change notification settings - Fork 177
Health Check #504
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 #504
Conversation
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.
Please consider what we have in go, also look at temporalio/sdk-go#453 where we've added retries for health check.
We need to have same/similar naming and configuration defaults across go and java.
temporal-serviceclient/src/main/java/io/temporal/serviceclient/WorkflowServiceStubsImpl.java
Show resolved
Hide resolved
* HealthCheckAttemptTimeout specifies how to long to wait for service response on each health | ||
* check attempt. Default: 5s. | ||
*/ | ||
private final Duration HealthCheckAttemptTimeout; |
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.
s/HealthCheckAttemptTimeout/healthCheckAttemptTimeout
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.
Approved with a small comment.
…LLEY/nflx-temporal-sdk:merge_oss to master * commit '671858b5039cbce290427ddcf723149c6e60cdd1': Small tweak to upgrade notes Document upgrade Comment out changes that pull in dependencies from grpc 1.34+ Add netflix.io.grpc:grpc-services-nflx update dependency locks Implement configurable DEFAULT_DEADLOCK_DETECTION_TIMEOUT (temporalio#524) Change InterruptedException logs to debug-level. (temporalio#533) Updated dependencies. (temporalio#532) Fixed flaky DetachedScopeTest + Javadoc + Refactoring (temporalio#526) Add getWorker method to TestWorkflowRule (temporalio#528) Avoid throwing IllegalStateException in NoopSuspendableWorker (temporalio#527) Cleaning up Activity Javadocs (temporalio#453) Add workerFactoryOptions override to the JUnit 5 extension (temporalio#520) Removes slf4j-simple from api scope (temporalio#523) Release v1.0.9 (temporalio#522) Fix health check attributes (temporalio#519) Release v1.0.8 (temporalio#518) Out-of-process test server (temporalio#470) Health Check (temporalio#504) Workflow retry in Test Service (temporalio#510)
What was changed
Added optional health check that's performed by the client by making a request to endpoint to make sure that the server is accessible.
Unit test