Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: fluent/fluent-plugin-kafka
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.19.3
Choose a base ref
...
head repository: fluent/fluent-plugin-kafka
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.19.4
Choose a head ref
  • 8 commits
  • 4 files changed
  • 4 contributors

Commits on Jan 27, 2025

  1. github: track issue with GitHub Project

    It helps to track new issues by aggregating ones from Project view.
    
    Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
    kenhys committed Jan 27, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    janb87 Jan Bevers
    Copy the full SHA
    7dc59a7 View commit details
  2. Merge pull request #525 from kenhys/add-to-project

    github: track issue with GitHub Project
    daipom authored Jan 27, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    janb87 Jan Bevers
    Copy the full SHA
    420d4f7 View commit details

Commits on Mar 4, 2025

  1. ci: use bundler installed by ruby/setup-ruby action

    Signed-off-by: Shizuo Fujita <fujita@clear-code.com>
    Watson1978 committed Mar 4, 2025
    Copy the full SHA
    8d51a35 View commit details
  2. Merge pull request #528 from Watson1978/bundler

    ci: use bundler installed by ruby/setup-ruby action
    kenhys authored Mar 4, 2025
    Copy the full SHA
    ce6e92a View commit details
  3. github: add Ruby 3.4 for CI

    Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
    kenhys committed Mar 4, 2025
    Copy the full SHA
    3931943 View commit details
  4. Add bigdecimal gem dependency for Ruby 3.4

      /opt/hostedtoolcache/Ruby/3.4.2/x64/lib/ruby/gems/3.4.0/gems/ruby-kafka-1.5.0/lib/kafka/protocol/record_batch.rb:1:
      warning: bigdecimal was loaded from the standard library, but is not
      part of the default gems starting from Ruby 3.4.0.  You can add
      bigdecimal to your Gemfile or gemspec to silence this warning.
    
    Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
    kenhys committed Mar 4, 2025
    Copy the full SHA
    ec6dae2 View commit details
  5. Merge pull request #526 from fluent/update-ci

    github: add Ruby 3.3/3.4 for CI
    kenhys authored Mar 4, 2025
    Copy the full SHA
    256b6b0 View commit details

Commits on Mar 25, 2025

  1. v0.19.4 (#530)

    Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
    kenhys authored Mar 25, 2025
    Copy the full SHA
    bf60694 View commit details
Showing with 28 additions and 9 deletions.
  1. +17 −0 .github/workflows/add-to-project.yml
  2. +3 −8 .github/workflows/linux.yml
  3. +3 −0 ChangeLog
  4. +5 −1 fluent-plugin-kafka.gemspec
17 changes: 17 additions & 0 deletions .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Add bugs to fluent project

on:
issues:
types:
- opened

jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v1.0.2
with:
project-url: https://github.com/orgs/fluent/projects/4
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: waiting-for-triage
11 changes: 3 additions & 8 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
@@ -12,26 +12,22 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: [ '3.3', '3.2', '3.1', '3.0' ]
ruby: [ '3.4', '3.3', '3.2', '3.1', '3.0' ]
os:
- ubuntu-latest
rdkafka_versions:
- { min: '>= 0.6.0', max: '< 0.12.0' }
- { min: '>= 0.12.0', max: '< 0.14.0' }
- { min: '>= 0.14.0', max: '< 0.16.0' }
- { min: '>= 0.16.0', max: '>= 0.16.0' }
bundler_version:
- '2.5.16'
# rdkafka 0.15.2 is the last version which supports Ruby 2.7
include:
- ruby: '2.7'
os: ubuntu-latest
rdkafka_versions: { min: '>= 0.6.0', max: '< 0.12.0' }
bundler_version: '2.4.22'
- ruby: '2.7'
os: ubuntu-latest
rdkafka_versions: { min: '>= 0.12.0', max: '= 0.15.2' }
bundler_version: '2.4.22'
name: Ruby ${{ matrix.ruby }} unit testing on ${{ matrix.os }} with rdkafka gem version (min ${{ matrix.rdkafka_versions.min }} max ${{ matrix.rdkafka_versions.max }})
steps:
- uses: actions/checkout@v4
@@ -54,7 +50,6 @@ jobs:
RDKAFKA_VERSION_MAX_RANGE: ${{ matrix.rdkafka_versions.max }}
run: |
sudo ./ci/prepare-kafka-server.sh
gem install bundler -v ${{ matrix.bundler_version }}
gem install rake
bundle _${{ matrix.bundler_version }}_ install --jobs 4 --retry 3
bundle _${{ matrix.bundler_version }}_ exec rake test
bundle install --jobs 4 --retry 3
bundle exec rake test
3 changes: 3 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
Release 0.19.4 - 2025/03/24
* Support Ruby 3.4. (#526)

Release 0.19.3 - 2024/08/02
* out_rdkafka2: Add `unrecoverable_error_codes` parameter to handle
specific error code as unrecoverable errors. `topic_authorization_failed`
6 changes: 5 additions & 1 deletion fluent-plugin-kafka.gemspec
Original file line number Diff line number Diff line change
@@ -13,12 +13,16 @@ Gem::Specification.new do |gem|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.name = "fluent-plugin-kafka"
gem.require_paths = ["lib"]
gem.version = '0.19.3'
gem.version = '0.19.4'
gem.required_ruby_version = ">= 2.1.0"

gem.add_dependency "fluentd", [">= 0.10.58", "< 2"]
gem.add_dependency 'ltsv'
gem.add_dependency 'ruby-kafka', '>= 1.5.0', '< 2'

# gems that aren't default gems as of Ruby 3.4
gem.add_dependency("bigdecimal", ["~> 3.1"])

gem.add_development_dependency "rake", ">= 0.9.2"
gem.add_development_dependency "test-unit", ">= 3.0.8"
gem.add_development_dependency "test-unit-rr", "~> 1.0"