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 compress_batches feature #1

Merged
merged 8 commits into from
May 19, 2020
Merged

Add compress_batches feature #1

merged 8 commits into from
May 19, 2020

Commits on May 17, 2020

  1. Set a default ruby version

    benwh committed May 17, 2020
    Configuration menu
    Copy the full SHA
    f8d0755 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d5b9813 View commit details
    Browse the repository at this point in the history
  3. Add rubocop configuration

    benwh committed May 17, 2020
    Configuration menu
    Copy the full SHA
    d0e017e View commit details
    Browse the repository at this point in the history
  4. Add rubocop fixups and configuration

    Use the rubocop generated configuration to ignore any major changes that
    can't be auto-corrected.
    benwh committed May 17, 2020
    Configuration menu
    Copy the full SHA
    3351fab View commit details
    Browse the repository at this point in the history

Commits on May 18, 2020

  1. Adjust supported Ruby versions

    Ruby 2.4 is now end-of-life. As a result of this, the `google-protobuf`
    gem is no longer releasing artifacts compatible with this version.
    (protocolbuffers/protobuf#7453)
    
    In CI we encounter this error from `bundle install`:
    ```
    google-protobuf-3.12.0-x86_64-linux requires ruby version >= 2.5, which is
    incompatible with the current version, ruby 2.4.6p354
    ```
    
    Therefore remove Ruby 2.4.6 as a tested version in Travis CI.
    
    Additionally remove the constraint on patch versions in the Travis
    config, so that we'll use the latest patch version available for each
    release branch.
    benwh committed May 18, 2020
    Configuration menu
    Copy the full SHA
    ad03786 View commit details
    Browse the repository at this point in the history

Commits on May 19, 2020

  1. Add Prometheus metrics

    Augment the existing operations with Prometheus metrics in order to
    provide observability around the operations that the plugin is
    performing.
    
    Introduce a new metrics helper to prevent attempting to register the
    same metric more than once in a multi-threaded or multi-instance
    context.
    benwh committed May 19, 2020
    Configuration menu
    Copy the full SHA
    265e819 View commit details
    Browse the repository at this point in the history
  2. Add compress_batches feature

    As per the README updates, this can be used to compress a number of
    input records into a single Pub/Sub message, therefore saving on costs.
    benwh committed May 19, 2020
    Configuration menu
    Copy the full SHA
    44b4b87 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    96f8528 View commit details
    Browse the repository at this point in the history