[Feature Request] Ingestion management APIs for pull-based ingestion #17442
Labels
enhancement
Enhancement or improvement to existing feature or request
Indexing
Indexing, Bulk Indexing and anything related to indexing
untriaged
Is your feature request related to a problem? Please describe
Create ingestion management APIs for pull-based ingestion for the following.
As a separate effort, we also plan to support custom consumer configurations and add an API to update consumer config.
Describe the solution you'd like
Following APIs will be created.
Pause Ingestion
Path parameters:
index: the index for which ingestion needs to be paused.
Description:
This API can be used to pause ingestion for a given index. Optionally, a list of shards can be provided in the request body. If shards are provided, ingestion will be paused only on the provided shards.
Request:
Request body is optional
Response:
Resume Ingestion
Path parameters:
index: the index for which ingestion needs to be resumed.
Description:
This API can be used to resume ingestion for a given index. Optionally, a list of shards and reset pointers can be provided in the request body.
Request:
Response:
Get Ingestion State
Path parameters:
index: the index for which ingestion state needs to be returned.
Description:
This API returns the current state of ingestion for the provided index. Optionally, a list of shards can be provided.
Request:
Request body is optional
Response:
Update Error Strategy
update_settings API will be used to update the error strategy. IndexSettingsHandler for “index.ingestion_source.error_strategy” will be registered in the IngestionEngine, which will update the error strategy in the poller and writer threads.
Related component
Indexing
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: