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

Arrange to use Logical Replication protocol metadata. #155

Merged
merged 1 commit into from
Nov 23, 2022

Conversation

dimitri
Copy link
Owner

@dimitri dimitri commented Nov 23, 2022

Instead of relying on wal2json to include the metadata we need in our implementation of Change Data Capture, use the Logical Decoding protocol metadata directly.

This prepares for compatibility with other output_plugins in the future.

The XID is still parsed from the "include-xids" option of wal2json at the moment, but it's used only as a hint and a check. The current plan is to have compatilibity with only output_plugins that can send the XIDs, such as for example the test_decoding output_plugin.

Instead of relying on wal2json to include the metadata we need in our
implementation of Change Data Capture, use the Logical Decoding protocol
metadata directly.

This prepares for compatibility with other output_plugins in the future.

The XID is still parsed from the "include-xids" option of wal2json at the
moment, but it's used only as a hint and a check. The current plan is to
have compatilibity with only output_plugins that can send the XIDs, such as
for example the test_decoding output_plugin.
@dimitri dimitri merged commit 667f869 into main Nov 23, 2022
@dimitri dimitri deleted the refactor/use-streaming-protocol-values branch November 23, 2022 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant