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

Add Firehose output #47

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

pierredeman
Copy link

Release notes

Add firehose output plugin

What does this PR do?

Send events to firehose with AWS SDK and the put_record_batch method.
Events will be sent in batches, following the base multi_receive_encoded method.
If number or size of events exceeds the AWS limits, sub-batches will be created.
The limits can be overriden by the users and they must define at least a delivery_stream_name configuration.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files (and/or docker env variables)
  • I have added tests that prove my fix is effective or that my feature works

How to test this PR locally

  1. Use following config
input {
  stdin {}
}
output {
  firehose {
    # Use your prefered authentication method
    region => "${YOUR_REGION}"
    access_key_id => "${YOUR_ACCESS_KEY}"
    secret_access_key => "${YOUR_SECRET_KEY}"
    # Define a kinesis data firehose stream to test your events
    delivery_stream_name => "test-stream"
  }
}
  1. Send some input data
  2. Verify all is received by firehose

Copy link

cla-checker-service bot commented Jul 17, 2024

💚 CLA has been signed

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.

1 participant