Hi,
I'm using Debezium 2.5 with Oracle 11g. My connector is running with snapshot.mode=initial and capturing changes from one table.
I’ve added a new table (TORRENT.PSTA) to table.include.list and restarted the connector. New inserts are captured, but existing records aren’t.
I tried using the signal table to trigger a snapshot:
INSERT INTO DBZUSER.DEBEZIUM_SIGNAL (id, type, data)
VALUES (
'reshot-torrent-psta',
'execute-snapshot',
'{"data-collections": ["TORRENT.PSTA"]}'
);
The signal appears in Kafka, but the snapshot doesn’t run.
Questions:
How can I trigger a snapshot for the new table?
Thanks!
--
You received this message because you are subscribed to the Google Groups "debezium" group.
To unsubscribe from this group and stop receiving emails from it, send an email to debezium+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/debezium/e2ff3b8c-9ef1-441d-aea0-5a369beb2895n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/debezium/e0914335-a9cf-477a-9f74-5aa6b4b62a03%40gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/debezium/CAJMtcOiEHzXJ_wiD1Zv8-F_P3NKCuCm1sars%2BB9UkvXL9oRY%2Bg%40mail.gmail.com.
Hi Chris,
This is sorted now—I’ve realized the table doesn’t have a primary key.
Quick question: what’s the recommended approach for triggering an ad-hoc snapshot on tables that don’t have a primary key defined?
regards,
Fasil
To view this discussion visit https://groups.google.com/d/msgid/debezium/9536a9dc-1c5d-42d7-a74f-e9d7ef1f71f8n%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/debezium/990a2c1b-0e5b-4640-b9e1-32d2fcd70f40%40gmail.com.
To view this discussion visit https://groups.google.com/d/msgid/debezium/CAJMtcOg9zxhWWEUUF-w1o%2BAqecwDo4f9daNG0b__vhvLRu1WeA%40mail.gmail.com.