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 write buffering #76

Merged
merged 1 commit into from
Aug 22, 2024
Merged

Conversation

trevorbonas
Copy link
Contributor

Issue #, if available:

N/A.

Description of changes:

  • Buffering added for writing records to Timestream. 100 records will be sent at a time, no matter how large the request is.

  • An integration test testing sending a write request with more than 100 records has been added.

  • timestream-prometheus-connector binary added to .gitignore.

  • Unit tests passed (go test -tags=unit -cover -v ./timestream ./)

  • Integration tests passed (go test -v ./integration/)

  • TLS tests passed (go test -v ./integration/tls)

  • Correctness tests passed (go test -v ./correctness)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

- Buffering added for writing records to Timestream. 100 records will be sent at a time, no matter how large the request is.
- An integration test testing sending a write request with more than 100 records has been added.
- `timestream-prometheus-connector` binary added to `.gitignore`.

- [x] Unit tests passed (`go test -tags=unit -cover -v ./timestream ./`)
- [x] Integration tests passed (`go test -v ./integration/`)
- [x] TLS tests passed (`go test -v ./integration/tls`)
- [x] Correctness tests passed (`go test -v ./correctness`)
Copy link
Contributor

@forestmvey forestmvey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@forestmvey forestmvey merged commit 633a3af into awslabs:main Aug 22, 2024
6 checks passed
@forestmvey forestmvey deleted the integ-write-buffering branch August 22, 2024 18:07
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.

2 participants