offset.storage=org.apache.kafka.connect.storage.FileOffsetBackingStore
offset.storage.file.filename=/debezium_engine_wrapper/testing_config/state.dat
offset.flush.interval.ms=0
connector.class=io.debezium.connector.postgresql.PostgresConnector
database.hostname=localhost
database.port=5432
database.user=postgres
database.password=postgres
database.dbname=postgres
snapshot.mode=initial
schema.include.list=inventory
table.include.list=inventory.customers,inventory.orders,inventory.products
publication.autocreate.mode=filtered
plugin.name=pgoutput
snapshot.max.threads=1
signal.enabled.channels=file,source
signal.data.collection=inventory.debezium_signal
signal.file=/debezium_engine_wrapper/testing_config/signal-file.jsonl
--
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 on the web visit https://groups.google.com/d/msgid/debezium/1f9d8d20-9026-4a28-aa02-0cb8b1e733f9n%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "debezium" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/debezium/GbL2dw76mv4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to debezium+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/889e8ff0-78db-40b0-9446-c37324de5601n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/f42a2111-7313-49aa-baad-bb80dc6b7670n%40googlegroups.com.
Hi,
Hope you are all doing well!
I am using Debezium Engine 2.6.1 Final, and Debezium Postgres Connector 2.6.1 Final, and I have been facing the same issue.
While trying to perform the ad-hoc blocking snapshot, using file signal channel, for tables that have only snapshot events and there are no changes in the database after the replication slot was created, the ad-hoc would not work.
In the database, I have 3 tables: products, items, and test, however in the table.include.list I have included only 2 of them as follows:
props.setProperty("table.include.list", "public.products,public.items");
Started the engine and all the snapshot events were retrieved successfully. (So far, no changes in the database).
I sent a signal through the signal file, to perform an ad-hoc for the products table, but nothing happened.
(Signal file: {"id":"unique-signal-id-0-file","type":"execute-snapshot","data":{"type":"BLOCKING","data-collections":["public.products"]}})
Then, I
added 1 row in the “test” table (which is not in the table.include.list) and
the blocking ad-hoc snapshot of the products table that I required earlier started right after this change.
(Screenshot from the log file: https://prnt.sc/ecuNjn8WLZJd )
Then, right after that, I performed another ad-hoc, for the “items” table, and it was performed successfully. (Processing signal line: {"id":"unique-signal-id-2","type":"execute-snapshot","data":{"type":"BLOCKING","data-collections":["public.items"]}})
As it has already been mentioned in this email thread, it looks like the ad-hoc would not be performed if there is no change in the transaction log.
For your convenience, I have attached the TRACE log file as well as Thread dumbs.
Shouldn’t the ad-hoc work even though there are no changes in the database?
Looking forward to your reply!
To view this discussion on the web visit https://groups.google.com/d/msgid/debezium/81f21fe6-50cc-4d9f-b1df-303dd6b8304en%40googlegroups.com.