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

AWS S3 notification receiver (SQS) improvement #36315

Open
GGonzalezGomez opened this issue Nov 12, 2024 · 3 comments
Open

AWS S3 notification receiver (SQS) improvement #36315

GGonzalezGomez opened this issue Nov 12, 2024 · 3 comments
Labels
enhancement New feature or request receiver/awss3

Comments

@GGonzalezGomez
Copy link

Component(s)

receiver/awss3

Is your feature request related to a problem? Please describe.

No, it is extending the functionality of the component.

Describe the solution you'd like

Current functionality for the aws s3 receiver is reading a set of files from S3 based on the configuration. This allows processing of files archived in S3. The proposal (already mentioned in #30750) is to allow the receiver to read a SQS queue for S3 notifications. That way, when a new file is created in the bucket, a notification is sent to SQS. The receiver would be reading that queue waiting for new messages and when a notification is sent, read the message, retrieve the object key from it, and get the events from the file.

The heavy lifting of the component is already present as it reads files from S3. Component extension would be to add the possibility to configure the queue to listen to, read those messages for s3 notifications and get the file to read instead of just listing the objects in the bucket.

This would allow sending files to S3 for processing, not just once but for any file created in the bucket.

Describe alternatives you've considered

No response

Additional context

To give some background, this is for example already possible for logs in vector with this source https://vector.dev/docs/reference/configuration/sources/aws_s3

@GGonzalezGomez GGonzalezGomez added enhancement New feature or request needs triage New item requiring triage labels Nov 12, 2024
Copy link
Contributor

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

@adcharre
Copy link
Contributor

Thank you @GGonzalezGomez I had been meaning to raise this as a separate issue. I think this makes sense and there definitely appears to be a demand for it. I would expand this slightly to also include SNS as well.

@VihasMakwana
Copy link
Contributor

Removing needs triage label based on codeowner's response.

@VihasMakwana VihasMakwana removed the needs triage New item requiring triage label Nov 13, 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 receiver/awss3
Projects
None yet
Development

No branches or pull requests

3 participants