Skip to content

Moves the creation of OpenSearch clients back into the initalize() method#6855

Merged
dlvenable merged 1 commit into
opensearch-project:mainfrom
dlvenable:clients-on-initialize
May 15, 2026
Merged

Moves the creation of OpenSearch clients back into the initalize() method#6855
dlvenable merged 1 commit into
opensearch-project:mainfrom
dlvenable:clients-on-initialize

Conversation

@dlvenable
Copy link
Copy Markdown
Member

Description

Data Prepper doesn't have strong lifecycles beyond initialize() and shutdown(). So creating multiple pipelines or attempting to initialize over time resulted in running out of files. This reverts the change to use the constructor until a better way to close plugins is available.

Issues Resolved

N/A

Check List

  • New functionality includes testing.
  • New functionality has a documentation issue. Please link to it in this PR.
    • New functionality has javadoc added
  • Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

…thod.

Data Prepper doesn't have strong lifecycles beyond initialize() and shutdown(). So creating multiple pipelines or attempting to initialize over time resulted in running out of files. This reverts the change to use the constructor until a better way to close plugins is available.

Signed-off-by: David Venable <dlv@amazon.com>
@dlvenable dlvenable merged commit 49f9918 into opensearch-project:main May 15, 2026
100 checks passed
@dlvenable dlvenable deleted the clients-on-initialize branch May 19, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants