table of contents
SIMPLE_LOCAL_CONSUME(1) | SIMPLE_LOCAL_CONSUME(1) |
NAME¶
simple_local_consumer3 - PgQ consumer that executes query for each row
SYNOPSIS¶
simple_local_consumer3.py [switches] config.ini
DESCRIPTION¶
For each event in batch it will execute query, filling event values into it.
Transactionality: query is executed in autocommit mode, completed batch is tracked in local file. It can be switched between nodes in cascaded queue.
CONFIG¶
Run simple_local_consumer3 --ini to see commented config template.
COMMAND LINE SWITCHES¶
Following switches are common to all skytools.DBScript-based Python programs.
-h, --help
-q, --quiet
-v, --verbose
-d, --daemon
--ini
Following switches are used to control already running process. The pidfile is read from config then signal is sent to process id specified there.
-r, --reload
-s, --stop
-k, --kill
09/28/2016 |