es_indexer_daemon.pl - Worker script that will process background Elasticsearch jobs
./es_indexer_daemon.pl --batch_size=X
Options:
-b --batch_size how many jobs to commit (default: 10) --help brief help message
Print a brief help message and exits.
How many jobs to commit per batch. Defaults to 10, will commit after .1 seconds if no more jobs incoming.
This script will connect to the Stomp server (RabbitMQ) and subscribe to the Elasticsearch queue, processing batches every second. If a Stomp server is not active it will poll the database every 10s for new jobs in the Elasticsearch queue and process them in batches every second.