Add debezium-cdc module: Debezium 3.7.1 CDC from Postgres 18 to Kafka, Connect vs embedded engine vs outbox
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b5uEyg58znuchZ8C8i
This commit is contained in:
co-authored by
Claude Sonnet 5.5
parent
e2c42dc268
commit
95e75d0101
@@ -0,0 +1,69 @@
|
||||
### Server settings that make CDC possible
|
||||
postgres
|
||||
-----------------------------------------------------------------
|
||||
PostgreSQL 18.7 (Debian 18.7-1.pgdg12+5) on x86_64-pc-linux-gnu
|
||||
(1 row)
|
||||
|
||||
wal_level
|
||||
-----------
|
||||
logical
|
||||
(1 row)
|
||||
|
||||
max_replication_slots
|
||||
-----------------------
|
||||
4
|
||||
(1 row)
|
||||
|
||||
max_wal_senders
|
||||
-----------------
|
||||
4
|
||||
(1 row)
|
||||
|
||||
|
||||
### Before any connector: no slots, no publications
|
||||
slots
|
||||
-------
|
||||
0
|
||||
(1 row)
|
||||
|
||||
publications
|
||||
--------------
|
||||
0
|
||||
(1 row)
|
||||
|
||||
|
||||
### What logical decoding produces, read with the built-in test_decoding plugin on a throwaway slot
|
||||
data
|
||||
----------------------------------------------------------------------
|
||||
BEGIN 770
|
||||
table public.noise: INSERT: id[bigint]:1 payload[text]:'hello'
|
||||
COMMIT 770
|
||||
BEGIN 771
|
||||
table public.noise: UPDATE: id[bigint]:1 payload[text]:'hello again'
|
||||
COMMIT 771
|
||||
BEGIN 772
|
||||
table public.noise: DELETE: id[bigint]:1
|
||||
COMMIT 772
|
||||
(9 rows)
|
||||
|
||||
|
||||
### Register the Debezium connector (Kafka Connect, pgoutput) and wait for it
|
||||
register 201
|
||||
connector: RUNNING ['RUNNING']
|
||||
|
||||
### What the connector created inside Postgres
|
||||
slot_name | plugin | slot_type | active
|
||||
----------------+----------+-----------+--------
|
||||
connect_orders | pgoutput | logical | t
|
||||
(1 row)
|
||||
|
||||
pubname | puballtables | pubinsert | pubupdate | pubdelete | pubtruncate
|
||||
--------------------+--------------+-----------+-----------+-----------+-------------
|
||||
connect_orders_pub | f | t | t | t | t
|
||||
(1 row)
|
||||
|
||||
pubname | schemaname | tablename
|
||||
--------------------+------------+-----------
|
||||
connect_orders_pub | public | orders
|
||||
(1 row)
|
||||
|
||||
Reference in New Issue
Block a user