I've already setup a scenario where I get all the sales from a database (input-jdbc) , by polling the database every minute via jdbc schedule parameter.
I send this (output-rabbitmq) to a rabbitmq queue and I subscribe to it and get the sales as soon as they are available.
What I'd like to achieve is a scenario where I only go to the database when I know there's something new.
Imagine I can make my system/database notify when there's new data, and logstash would make the connection.
Any thoughts ?