-
Notifications
You must be signed in to change notification settings - Fork 174
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
[FEATURE] Add support for the AWS OpenSearch Ingestion Pipeline #405
Comments
@wbeckler, please take a look at this feature request. |
@adilnaimi Would you explain more how you would use the opensearch client for accessing the ingestion service? |
@wbeckler -- It could be this is not the right repository where I should create my issue, and I'm willing to move it to the appropriate repository if suggested. Currently, we use opensearch-py client to establish a connection with the AWS OpenSearch cluster. However, with the introduction of the AWS ingestion pipeline service (powered by Data Prepper), we are interested in leveraging its various features, such as DLQ (Dead Letter Queue). To achieve this, we have set up a pipeline between our application and the OpenSearch cluster as follows: app -> pipeline -> OpenSearch. Currently, there is no native method available to connect to the OpenSearch Ingestion Pipeline (I'm unsure why)—both OpenSearch-py and boto3 lack built-in support for the Pipeline functionality. I'm looking for the appropriate approach to accessing the OpenSearch Ingestion Pipeline and would appreciate any suggestions or recommendations. |
I'm not sure where that request would belong either. It sounds like you're looking for a data-prepper version of this: https://github.com/vklochan/python-logstash Maybe you could fork it or start from scratch and make the first client for data-prepper? If so, leave a comment here so if anyone else wants to help out they'll see this and find you. |
@wbeckler @adilnaimi - Just want to re-confirm my understanding that we are looking for a method which we have in
Just like using I ask this because if my understanding is correct, I would be interested to be part of this. |
@Utkarsh-Aga do you think it should be some kind of option, new namespace, require a separate client instance, or be a separate client altogether because it's specific to an AWS service?
|
@dblock I believe, while creating the authentication for the client we need to provide the service as |
So we would treat osis as a plugin? My question is whether we're better off writing another library that depends on opensearch-py? Either way, since the service is not available in open source, it should be behind import Want to contribute @Utkarsh-Aga? |
@dblock - |
Awesome.
Since it's an AWS service, and not a generic feature of OpenSearch open source, you can't treat it like other plugins. We can't have from opensearch.aws import IngestionPipeline
client = Client(
plugins: IngestionPipeline
)
client.ingestion_pipeline.... Does it make sense? |
Got it, Thanks a lot for these details @dblock, it made things super clear. Since, I would be contributing to this first time, so I should just follow - CONTRIBUTING guide? |
Yes! Let us know if you need help. A good place to ask general questions is the public Slack - https://opensearch.org/slack.html |
Sure, Thanks. |
As noted above, there is an existing |
Hello @dlvenable - Yes, if we have a support for |
Is your feature request related to a problem?
No
What solution would you like?
Native access to the newly released AWS feature, OpenSearch Ingestion Pipeline
What alternatives have you considered?
Our current workaround uses requests-aws4auth but unnecessarily adds another layer of complexity to our codebase.
Do you have any additional context?
No
The text was updated successfully, but these errors were encountered: