londiste - PostgreSQL replication engine written in python
job_name = asd
The londiste configuration file follow the famous .INI syntax. It
contains only one section named londiste.
Most defaults values are reasonable ones. That means you can only edit
provider_db, subscriber_db and pgq_queue_name and be done with londiste
You can configure the following options into the londiste section.
Each Skytools daemon process must have a unique job_name. Londiste
uses it also as consumer name when subscribing to queue.
Provider database connection string (DSN).
Subscriber database connection string (DSN).
Name of the queue to read from. Several subscribers can read from
Where to log londiste activity.
Where to store the pid of the main londiste process, the replay
Few operations take lock on provider (provider add/remove, compare,
repair). This parameter specifies timeout in seconds (float) how
long a lock can be held. New in version 2.1.8. Default: 10
How often to poll events from provider. In seconds (float).
job_name = test_to_subcriber
provider_db = dbname=provider port=6000 host=127.0.0.1
subscriber_db = dbname=subscriber port=6000 host=127.0.0.1
# it will be used as sql ident so no dots/spaces
pgq_queue_name = londiste.replika
logfile = /tmp/%(job_name)s.log
pidfile = /tmp/%(job_name)s.pid