During logstash startup if, for any reason, logstash couldn't connect to the input or output plugin, it keeps on trying indefinitely.
My question is, is there any settings which tells it to stop after specified number of attempts? I'm more interested in Rabbit and JDBC as input and ES as output plugin settings.
UPDATE: For jdbc input, I saw connection_retry_attempts. I didn't see any such settings for rabbitmq input plugin.
Well, Logstash keeps on trying indefinitely. I think, that's OK. But when I send shutdown signal, it's not killing the process. I see SIGTERM received. Shutting down. message in stdout, but it keeps on logging the error message. Ideally, I would expect it to shutdown. Please let me know whether it's a Logstash bug or my understanding is not correct.
Thanks in advance!!