Change plugin name from java_sink to sink

In the docs templating, the plugin name is used to autogenerate a code example of how
to configure specific plugin. As such, if a plugin name is different from how you
configure it, this results in an example of how to configure this plugin with an
incorrect name.

This changes the java_sink plugin name to sink to correctly autogenerate the example.

Fixes: #11675, Fixes: #11214

Fixes #11782
This commit is contained in:
Andres Rodriguez 2020-04-13 15:27:23 -04:00 committed by Andres Rodriguez Lazo
parent 73a8808b19
commit a8fca3c07f

View file

@ -1,4 +1,4 @@
:plugin: java_sink
:plugin: sink
:type: output
:default_codec!:
@ -12,7 +12,7 @@ END - REPLACES GENERATED VARIABLES
[id="plugins-{type}s-{plugin}"]
=== Java_sink output plugin
=== Sink output plugin
include::{include_path}/plugin_header-core.asciidoc[]
@ -22,7 +22,7 @@ An event sink that discards any events received. Generally useful for testing th
and filters.
[id="plugins-{type}s-{plugin}-options"]
==== Java_sink Output Configuration Options
==== Sink Output Configuration Options
There are no special configuration options for this plugin,
but it does support the <<plugins-{type}s-{plugin}-common-options>>.
@ -30,4 +30,4 @@ but it does support the <<plugins-{type}s-{plugin}-common-options>>.
[id="plugins-{type}s-{plugin}-common-options"]
include::{include_path}/{type}.asciidoc[]
:default_codec!:
:default_codec!: