londiste

Langue: en

Autres versions - même langue

Version: 05/29/2008 (ubuntu - 08/07/09)

Autres sections - même nom

Section: 5 (Format de fichier)

NAME

londiste - PostgreSQL replication engine written in python

SYNOPSIS

 [londiste]
 job_name = asd
 

DESCRIPTION

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 configuration.

OPTIONS

You can configure the following options into the londiste section.

job_name

Each running londiste replay process has a unique job name.

provider_db

Provider database connection string (DSN).

subscriber_db

Subscriber database connection string (DSN).

pgq_queue_name

Name of the PgQ to use. Must match the PgQ ticker configuration.

logfile

Where to log londiste activity.

pidfile

Where to store the pid of the main londiste process, the replay one.

EXAMPLE

 [londiste]
 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
 
 # both events and ticks will be copied there
 #mirror_queue = replika_mirror
 

SEE ALSO

londiste(1)