-
Notifications
You must be signed in to change notification settings - Fork 556
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 gateway endpoints for exporter disable request #18421
Comments
Currently we have two related endpoints
For the new endpoints for enabling and disabling exporters Proposal 1
Proposal 2
Proposal 3
MonitoringUsers can also monitor the state of exporters and also monitor when enabling or disabling request is completed. Proposal 1We can reuse the endpoint for the cluster Proposal 2Define a new endpoint If going with this approach, we have to decide what should be included in the response for @npepinpe Any suggestions? |
I see a third proposal for the modification: But I don't have a super strong opinion between this and the second proposal. I would opt against the first however, as I think it's more confusing than anything, and it prevents us in the future from, say, deleting exporters entirely 🙃 As for monitoring, I like the idea of the new endpoint - I think it's more intuitive. But we could start with an iterative process: first we include the new info in the response we get from the existing cluster monitoring endpoint. Then as a second iteration purely for UX, we can add a new endpoint just for exporters. |
PATCH or POST Alternatives restful urls for similar operations suggested here are
This is similar to Proposal 3 above. OR
|
@npepinpe and me discussed briefly the query endpoint for monitoring the state of exporters. The idea is that it could return and aggregated state instead of per partition per broker state of each exporters. So something like
I will open another issue for this. |
## Description * Refactor open-api spec for cluster management api to extract re-usable schema that are useful for exporter api and other configuration management that will be built on top of the same infrastructure. * Add `ExportersEndpoint` for handling request to disable exporter As discussed in #18421, we started with a simple API. No additional query is added. For now cluster status query can be used to monitor the status of the request and the status of exporters. ## Related issues closes #18421 closes #18030
Add gateway endpoint to disable an exporter by its id. We should also add a way to monitor the progress of the operation. To be discussed if we should reuse the endpoint for cluster (scaling, force configure etc..) or define a new one specific for exporting or a general configurations.
The text was updated successfully, but these errors were encountered: