Logical Decoding Failover

From: Colin Morelli <colin(dot)morelli(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Logical Decoding Failover
Date: 2016-08-06 03:17:27
Message-ID: CAPtU-UqNOdduGa1YAbZLRFcDJnud57i2zgUCE_PaWrP0UZ4=HA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hey all,

I'm using logical decoding in my application to capture change streams and
ship them to Kafka. However, logical replication slots aren't included in
the WAL and thus don't make it to replicas. In the case of a failover, it's
not clear what (if anything) can be done to continue receiving a change
stream.

I noticed there was a failover slot patch that looks like it won't be
making it for 9.6 (if at all), but does anyone else have suggestions for
handling failover + logical decoding? Is there an answer, or is it limited
to being a very manual process for now?

Thanks in advance.

Best,
Colin

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Patrick B 2016-08-06 04:32:41 Re: Question about wal files / pg_xlogs
Previous Message Tatsuo Ishii 2016-08-06 01:36:37 Re: Uber migrated from Postgres to MySQL