Closed TheVastyDeep closed 10 months ago
retries
cannot be a negative number, you can set it to zero if you don't want to use retry.
"retries cannot be a negative number". Yes, obviously. The point is that it should log an informative error message if there is an error in the configuration. NameError is not informative.
logstash 8.11.4 from yum update, run on command line with bundled JVM.
OS is 4.14.334-252.552.amzn2.x86_64 #1 SMP Tue Jan 2 17:47:37 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
The code tries to raise a ConfigurationError here and here. That fails with
It should be raising LogStash::ConfigurationError which it successfully does here if configured with
partititioner => "bar"
.Reproducible using