Skip to content

Commit

Permalink
add deprecation warning for Ruby Execution, removed in elastic#12517
Browse files Browse the repository at this point in the history
  • Loading branch information
yaauie committed Oct 19, 2021
1 parent a98de95 commit e5204b9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions logstash-core/lib/logstash/pipeline.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ module LogStash; class BasePipeline < AbstractPipeline
attr_reader :inputs, :filters, :outputs

def initialize(pipeline_config, namespaced_metric = nil, agent = nil)
deprecation_logger.deprecated I18n.t("logstash.pipeline.engine.deprecated_ruby")

@logger = self.logger
super pipeline_config, namespaced_metric, @logger

Expand Down
5 changes: 5 additions & 0 deletions logstash-core/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ en:
v2_deprecated: >-
The setting `pipeline.ecs_compatibility` will not support the placeholder value `v2` that previously referred to the next unreleased version of ECS.
Please use the value `v8` to refer to version 8 of the Elastic Common Schema, which is set to release along-side Logstash 8.
engine:
deprecated_ruby: >-
The Ruby Execution Engine is deprecated and will not be available in Logstash 8.
The Java Execution Engine has been the default since 7.0, and reached maturity in 7.10.
You no longer need to provide the command-line flag `--java-execution` or to specify `pipeline.java_execution` in your `pipelines.yml` or logstash.yml` settings files.
modules:
configuration:
parse-failed: |-
Expand Down

0 comments on commit e5204b9

Please sign in to comment.