From c6d170709363e6fcb2c5496a6b52b544d7dcc972 Mon Sep 17 00:00:00 2001 From: Davide Calabrese Date: Fri, 15 Nov 2024 16:19:48 +0100 Subject: [PATCH] Fix typo --- internal/impl/io/input_subprocess.go | 2 +- website/docs/components/inputs/subprocess.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/impl/io/input_subprocess.go b/internal/impl/io/input_subprocess.go index f7bc6cd33..4bca3cbb2 100644 --- a/internal/impl/io/input_subprocess.go +++ b/internal/impl/io/input_subprocess.go @@ -27,7 +27,7 @@ func subprocInputSpec() *service.ConfigSpec { Categories("Utility"). Summary("Executes a command, runs it as a subprocess, and consumes messages from it over stdout."). Description(` -Messages are consumed according to a specified codec. The command is executed once and if it terminates the input also closes down gracefully. Alternatively, the field `+"`restart_on_close` can be set to `true`"+` in order to have Bento re-execute the command each time it stops. +Messages are consumed according to a specified codec. The command is executed once and if it terminates the input also closes down gracefully. Alternatively, the field `+"`restart_on_exit` can be set to `true`"+` in order to have Bento re-execute the command each time it stops. The field `+"`max_buffer`"+` defines the maximum message size able to be read from the subprocess. This value should be set significantly above the real expected maximum message size. diff --git a/website/docs/components/inputs/subprocess.md b/website/docs/components/inputs/subprocess.md index af5584a94..264ad7727 100644 --- a/website/docs/components/inputs/subprocess.md +++ b/website/docs/components/inputs/subprocess.md @@ -57,7 +57,7 @@ input: -Messages are consumed according to a specified codec. The command is executed once and if it terminates the input also closes down gracefully. Alternatively, the field `restart_on_close` can be set to `true` in order to have Bento re-execute the command each time it stops. +Messages are consumed according to a specified codec. The command is executed once and if it terminates the input also closes down gracefully. Alternatively, the field `restart_on_exit` can be set to `true` in order to have Bento re-execute the command each time it stops. The field `max_buffer` defines the maximum message size able to be read from the subprocess. This value should be set significantly above the real expected maximum message size.