Call out requirement for Java execution in note

Fixes #10630
This commit is contained in:
Dan Hermann 2019-04-03 10:03:25 -05:00
parent 0917411edd
commit bcacbf09e5
4 changed files with 6 additions and 5 deletions

View file

@ -374,8 +374,9 @@ To test the plugin, start Logstash with:
echo "foo,bar" | bin/logstash --java-execution -e 'input { java_stdin { codec => java_codec_example } } }' echo "foo,bar" | bin/logstash --java-execution -e 'input { java_stdin { codec => java_codec_example } } }'
----- -----
Note that the `--java-execution` flag to enable the Java execution engine is required as Java plugins are not supported NOTE: The `--java-execution` flag to enable the Java execution engine is required as Java plugins are not supported
in the Ruby execution engine. in the Ruby execution engine.
The expected Logstash output (excluding initialization) with the configuration above is: The expected Logstash output (excluding initialization) with the configuration above is:
[source,txt] [source,txt]

View file

@ -207,7 +207,7 @@ reversed.
public String getId() { public String getId() {
return id; return id;
} }
---- -----
For filter plugins, the `getId` method should always return the id that was provided to the plugin through its For filter plugins, the `getId` method should always return the id that was provided to the plugin through its
constructor at instantiation time. constructor at instantiation time.
@ -251,7 +251,7 @@ Start Logstash with:
bin/logstash --java-execution -f /path/to/java_filter.conf bin/logstash --java-execution -f /path/to/java_filter.conf
----- -----
Note that the `--java-execution` flag to enable the Java execution engine is NOTE: The `--java-execution` flag to enable the Java execution engine is
required as Java plugins are not supported in the Ruby execution engine. required as Java plugins are not supported in the Ruby execution engine.
The expected Logstash output (excluding initialization) with the configuration The expected Logstash output (excluding initialization) with the configuration

View file

@ -277,7 +277,7 @@ Start {ls} with:
bin/logstash --java-execution -f /path/to/java_input.conf bin/logstash --java-execution -f /path/to/java_input.conf
----- -----
Note that the `--java-execution` flag to enable the Java execution engine is NOTE: The `--java-execution` flag to enable the Java execution engine is
required as Java plugins are not supported in the Ruby execution engine. required as Java plugins are not supported in the Ruby execution engine.
The expected Logstash output (excluding initialization) with the configuration above is: The expected Logstash output (excluding initialization) with the configuration above is:

View file

@ -261,7 +261,7 @@ Logstash should then be started with:
bin/logstash --java-execution -f /path/to/java_output.conf bin/logstash --java-execution -f /path/to/java_output.conf
----- -----
Note that the `--java-execution` flag to enable the Java execution engine is NOTE: The `--java-execution` flag to enable the Java execution engine is
required as Java plugins are not supported in the Ruby execution engine. required as Java plugins are not supported in the Ruby execution engine.
The expected Logstash output (excluding initialization) with the configuration The expected Logstash output (excluding initialization) with the configuration