Skip to content
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

Stop listing indexes after one time pull from the OpenSearch indices #4471

Open
graytaylor0 opened this issue Apr 26, 2024 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@graytaylor0
Copy link
Member

Is your feature request related to a problem? Please describe.
As a user of the OpenSearch source, I would like to only do a one-time list of the indices rather than periodically pull new indices.

Describe the solution you'd like
An option in the OpenSearch source to configure the number of cat/indices calls to make.

source:
  opensearch:
    scheduling:
       list_index_count: 1

Would only list indexes once, process those indexes, and then stop listing and working completely.

This can be done in a similar way as the S3 Source, which will only has a configurable scan count that will block subsequent scans once that scan count is reached (

). This would be applied to the Global state item and supplier for the OpenSearch source ( )

Describe alternatives you've considered (Optional)
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@graytaylor0 graytaylor0 added untriaged enhancement New feature or request and removed untriaged labels Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant