Skip to content

add stable ThreadPool constructor to LogstashInternalBridge #105163

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

Merged
merged 3 commits into from
Feb 7, 2024

Conversation

yaauie
Copy link
Member

@yaauie yaauie commented Feb 5, 2024

This is a continuation of the discussion started in #104959, which adds a ThreadPool factory method to the LogstashInternalBridge in order to provide Logstash's Elastic Integration Filter with an API-stable way to create the ThreadPool it needs, along with tests to ensure that internal refactoring does not break this external usage.

This PR has a companion in the 8.12 series (#105165) that must also be merged, so that the Elastic Integration Filter can begin instantiating ThreadPool instance against an API that is stable across the 8.12->main jump.

@elasticsearchmachine elasticsearchmachine added needs:triage Requires assignment of a team area label v8.13.0 external-contributor Pull request authored by a developer outside the Elasticsearch team labels Feb 5, 2024
@yaauie yaauie added :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP Team:Data Management Meta label for data/management team labels Feb 5, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-data-management (Team:Data Management)

@yaauie yaauie force-pushed the logstash-bridge-threadpool-main branch from a4b4113 to 083638b Compare February 6, 2024 00:04
@joegallo joegallo added the >bug label Feb 6, 2024
@elasticsearchmachine
Copy link
Collaborator

Hi @yaauie, I've created a changelog YAML for you.

@joegallo
Copy link
Contributor

joegallo commented Feb 7, 2024

@elasticmachine update branch

@joegallo joegallo merged commit 0022005 into elastic:main Feb 7, 2024
@yaauie yaauie deleted the logstash-bridge-threadpool-main branch February 9, 2024 19:36
yaauie added a commit to yaauie/logstash-filter-elastic_integration that referenced this pull request Feb 9, 2024
Introduced on Elasticsearch `main` in elastic/elasticsearch#105163 and
backported to `8.12` in elastic/elasticsearch#105163. Migrating to this
stable API allows our build to work across the 8.12->8.13 boundary in
which we observed a change to the ThreadPool's constructor.

Resolves: elastic#120
yaauie added a commit to elastic/logstash-filter-elastic_integration that referenced this pull request Feb 12, 2024
Introduced on Elasticsearch `main` in elastic/elasticsearch#105163 and
backported to `8.12` in elastic/elasticsearch#105163. Migrating to this
stable API allows our build to work across the 8.12->8.13 boundary in
which we observed a change to the ThreadPool's constructor.

Resolves: #120
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP external-contributor Pull request authored by a developer outside the Elasticsearch team Team:Data Management Meta label for data/management team v8.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants