-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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 an endpoint to check whether function worker service is initialized #7350
Conversation
@cckellogg please also review |
/pulsarbot run-failure-checks |
@ApiResponse(code = 400, message = "Invalid request"), | ||
@ApiResponse(code = 408, message = "Request timeout") | ||
}) | ||
@Path("/initialized") |
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.
What is the full path for this? Will callers need to be authenticated? If so we might want to make that optional (like the metrics endpoint). Otherwise, using this as a readiness/liveness probe in kubernetes will be difficult.
/pulsarbot run-failure-checks |
1 similar comment
/pulsarbot run-failure-checks |
630295b
to
18dbec4
Compare
/pulsarbot run-failure-checks |
…ed (apache#7350) * Add an endpoint to check whether function worker service is initialized Co-authored-by: Jerry Peng <jerryp@splunk.com>
Motivation
Add an endpoint to check whether function worker service is initialized. This endpoint can be used as a readiness check