Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(pg-cdc): write transactional WAL message as heartbeat action (#19385) #19392

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ publication.autocreate.mode=disabled
publication.name=${publication.name:-rw_publication}
# default heartbeat interval 5 mins
heartbeat.interval.ms=${debezium.heartbeat.interval.ms:-300000}
# emit a WAL message to the replication stream
# emit a transactional WAL message to the replication stream
# see https://github.com/risingwavelabs/risingwave/issues/16697 for more details
heartbeat.action.query=SELECT pg_logical_emit_message(false, 'heartbeat', now()::varchar)
heartbeat.action.query=SELECT pg_logical_emit_message(true, 'heartbeat', now()::varchar)
# In sharing cdc source mode, we will subscribe to multiple tables in the given database,
# so here we set ${table.name} to a default value `RW_CDC_Sharing` just for display.
name=${hostname}:${port}:${database.name}.${schema.name}.${table.name:-RW_CDC_Sharing}
Expand Down
Loading