Skip to content

feat(kinesisfirehose-destinations): add support for compression on S3 delivery stream destinations#15550

Merged
mergify[bot] merged 105 commits intomasterfrom
madeline-k/feat/kinesisfirehose-compression
Jul 28, 2021
Merged

feat(kinesisfirehose-destinations): add support for compression on S3 delivery stream destinations#15550
mergify[bot] merged 105 commits intomasterfrom
madeline-k/feat/kinesisfirehose-compression

Conversation

@madeline-k
Copy link
Copy Markdown
Contributor

Closes #15548


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Jul 14, 2021

@mergify mergify bot added the contribution/core This is a PR that came from AWS. label Jul 14, 2021
@madeline-k madeline-k changed the title feat(aws-kinesisfirehose): support for compression on S3 delivery stream destinations feat(aws-kinesisfirehose-destinations): support for compression on S3 delivery stream destinations Jul 14, 2021

## Compression

Your data can automatically be compressed when it is delivered to S3 as either a final or
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If the user specifies a backup option, does the compression apply to both the backup and the final destination? If so, the "either" in the documentation may be confusing.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The backup option will have it's own field for compression. They are not coupled to each other. This should be clear once I have the PR with the backup implementation ready. Will ping you with that, when it's ready.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Take a look at the backup PR, and let me know if you still find this unclear: https://github.com/aws/aws-cdk/pull/15725/files

madeline-k and others added 2 commits July 26, 2021 09:58
…t.ts


Use `toHaveResourceLike` instead of `toHaveResource`

Co-authored-by: Ben Chaimberg <chaimber@amazon.com>
…t.ts

Co-authored-by: Ben Chaimberg <chaimber@amazon.com>
@madeline-k madeline-k requested a review from otaviomacedo July 26, 2021 17:01
skinny85
skinny85 previously approved these changes Jul 27, 2021
Copy link
Copy Markdown
Contributor

@skinny85 skinny85 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! 3 minor suggestions.

Base automatically changed from madeline-k/feat/kinesisfirehose-sse to master July 28, 2021 20:42
@madeline-k madeline-k removed the pr/do-not-merge This PR should not be merged at this time. label Jul 28, 2021
@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 9f9c7f8
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@skinny85 skinny85 changed the title feat(aws-kinesisfirehose-destinations): support for compression on S3 delivery stream destinations feat(kinesisfirehose-destinations): add support for compression on S3 delivery stream destinations Jul 28, 2021
Copy link
Copy Markdown
Contributor

@skinny85 skinny85 left a comment

Choose a reason for hiding this comment

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

Pure awesomeness.

Comment on lines +16 to +18
* The compression formats SNAPPY or ZIP cannot be specified for Amazon Redshift
* destinations because they are not supported by the Amazon Redshift COPY operation
* that reads from the S3 bucket.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I fee like this comment is not needed, since this is the S3Destination...?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Good point, this comment will be needed once this prop is inevitably hoisted up to another interface so it can be shared with multiple destinations. But we can delete for now.

@mergify mergify bot merged commit 1eb56a0 into master Jul 28, 2021
@mergify mergify bot deleted the madeline-k/feat/kinesisfirehose-compression branch July 28, 2021 21:58
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Jul 28, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

Comment on lines +16 to +19
* The compression formats SNAPPY or ZIP cannot be specified for Amazon Redshift
* destinations because they are not supported by the Amazon Redshift COPY operation
* that reads from the S3 bucket.
*
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Suggested change
* The compression formats SNAPPY or ZIP cannot be specified for Amazon Redshift
* destinations because they are not supported by the Amazon Redshift COPY operation
* that reads from the S3 bucket.
*

TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Aug 3, 2021
… delivery stream destinations (aws#15550)

Closes aws#15548 

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
hollanddd pushed a commit to hollanddd/aws-cdk that referenced this pull request Aug 26, 2021
… delivery stream destinations (aws#15550)

Closes aws#15548 

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution/core This is a PR that came from AWS.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(aws-kinesisfirehose): support for data compression on DeliveryStream destinations

5 participants