Hi Team,
Is there any java example to implement temporal server health check.
Thank You.
Hi Team,
Is there any java example to implement temporal server health check.
Thank You.
You can run run the same check as what
tctl cluster health
does with for example:
GetClusterInfoResponse res = client
.getWorkflowServiceStubs()
.blockingStub()
.getClusterInfo(GetClusterInfoRequest.newBuilder().build());
// res.getClusterId();
// res.getServerVersion();
// res.getPersistenceStore();
// ...
hope this helps