From 1d220f84a5d5c0df3f7f8bb001b94e65c39b0c73 Mon Sep 17 00:00:00 2001 From: Kaise Cheng Date: Tue, 8 Dec 2020 15:35:36 +0100 Subject: [PATCH 1/2] remove Logstash::Pipeline --- batch_perf/perf_batch.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/batch_perf/perf_batch.rb b/batch_perf/perf_batch.rb index 3863d85..ac81e85 100644 --- a/batch_perf/perf_batch.rb +++ b/batch_perf/perf_batch.rb @@ -3,7 +3,7 @@ require "securerandom" require "logstash/event" -require "logstash/pipeline" +require "logstash/java_pipeline" require_relative "../lib/logstash/inputs/redis" class BenchOptions @@ -35,7 +35,7 @@ def cfg_batch(d) bench_options = BenchOptions.new def input(cfg, slow, &block) - pipeline = LogStash::Pipeline.new(cfg) + pipeline = LogStash::JavaPipeline.new(cfg) queue = Queue.new pipeline.instance_eval do From 05e9b5324d4822d8e186c167db079e28a357b4f8 Mon Sep 17 00:00:00 2001 From: Kaise Cheng Date: Tue, 8 Dec 2020 16:02:16 +0100 Subject: [PATCH 2/2] bump version --- CHANGELOG.md | 3 +++ logstash-input-redis.gemspec | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 65fc096..63e70e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 3.6.1 + - Remove ruby pipeline dependency. Starting from Logstash 8, Ruby execution engine is not available. All pipelines should use Java pipeline [#84](https://github.com/logstash-plugins/logstash-input-redis/pull/84) + ## 3.5.1 - [DOC] Reordered config option to alpha order [#79](https://github.com/logstash-plugins/logstash-input-redis/issues/79) diff --git a/logstash-input-redis.gemspec b/logstash-input-redis.gemspec index e68f21a..96cce30 100755 --- a/logstash-input-redis.gemspec +++ b/logstash-input-redis.gemspec @@ -1,7 +1,7 @@ Gem::Specification.new do |s| s.name = 'logstash-input-redis' - s.version = '3.5.1' + s.version = '3.6.1' s.licenses = ['Apache License (2.0)'] s.summary = "Reads events from a Redis instance" s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"