It seems like with RabbitMQ you can enable acknowledgements on the input so the message only gets deleted from the server if it was successfully received. Is there any way to make it so acknowledgments are sent only if the output succeeded (e.g. message gets inserted into elasticsearch)?
My end goal is avoiding message loss if the logstash workers crash while processing messages.
Thanks!