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 support for compression_codec to logging file sink endpoints #235

Merged
merged 2 commits into from Dec 11, 2020

Conversation

kellymclaughlin
Copy link
Contributor

Add support for compression_codec to the following logging endpoints in go-fastly:

  • Azure Blob
  • FTP
  • GCS
  • OpenStack
  • S3
  • SFTP

gzip_level is still supported, but compression_codec is now the preferred option. The intention is that if gzip_level is present it overrides any compression_codec value.

Copy link
Contributor

@jaredmorrow jaredmorrow left a comment

Choose a reason for hiding this comment

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

This looks good to me, but I'll let someone from the owning team chime in.

@Integralist
Copy link
Collaborator

Thanks for the PR!

There's a couple of other PRs from @kellymclaughlin that I need to catch back up on (since I've been on paternity leave), so those will take priority for me today. Hopefully I can find some time later today to review this PR though.

@Integralist
Copy link
Collaborator

@kellymclaughlin @jaredmorrow am I right in noticing that the new field compression_codec isn't documented at developer.fastly.com under our api reference. I presume there plans to ensure it's added there once this PR is merged.

Update the tests for logging endpoints that have the compression_codec option to
exercise the interaction between compression_codec and gzip_level.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants