You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pulsar-functions/worker/src/main/java/org/apache/pulsar/functions/worker/rest/api/v3/FunctionsApiV3Resource.java
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -432,8 +432,13 @@ public void updateFunctionOnWorkerLeader(final @PathParam("tenant") String tenan
432
432
}
433
433
434
434
@GET
435
-
@Path("/live")
436
-
publicResponsecheckLiveliness() {
435
+
@Path("/healthz")
436
+
@ApiOperation(value = "Run a healthCheck against the function worker")
437
+
@ApiResponses(value = {
438
+
@ApiResponse(code = 200, message = "Everything is OK"),
439
+
@ApiResponse(code = 503, message = "Service not available")
0 commit comments