Skip to content

Conversation

@mpospisi
Copy link
Contributor

@mpospisi mpospisi commented May 13, 2025

Issue #230

Description of changes:
Google-protobuf dependency version 3.x reached end of life.
This PR switch to protoc compiled protobufs as version 4.x dropped support for by code compiled protobuf (descriptor DSL file was dropped) and also switches google-protobuf dependency to version 4.x.

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

@simukappu simukappu requested a review from Copilot August 1, 2025 06:20
@simukappu simukappu self-assigned this Aug 1, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Updates the google-protobuf dependency from version 3.x to 4.x due to end-of-life support, replacing the deprecated descriptor DSL approach with protoc-compiled protobuf files as version 4.x no longer supports runtime compilation of protobuf descriptors.

  • Switches from runtime protobuf compilation to protoc-generated files
  • Updates google-protobuf dependency from ~> 3 to ~> 4
  • Adds Makefile target for regenerating protobuf files

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
proto/kinesis_aggregation.proto Adds new protobuf definition file for Kinesis aggregation format
lib/fluent/plugin/kinesis_helper/aggregator.rb Removes inline protobuf DSL and imports generated protobuf classes
lib/fluent/plugin/gen/kinesis_aggregation_pb.rb Auto-generated protobuf Ruby classes from proto definition
fluent-plugin-kinesis.gemspec Updates google-protobuf dependency from ~> 3 to ~> 4
Makefile Adds regenerate-protobuf target for protoc compilation

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