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

[DBZ-PGYB][yugabyte/yugabyte-db#23082] Remove dependency on custom debezium-core changes #137

Merged
merged 19 commits into from
Jul 12, 2024

Conversation

vaibhav-yb
Copy link
Collaborator

@vaibhav-yb vaibhav-yb commented Jul 2, 2024

This PR reverts the changes made in debezium-core and converts those changes to be in the local module only. Changes include:

  1. Adding a custom field definition for HOSTNAME in PostgresConnectorConfig which uses a new validator PostgresConnectorConfig#validateYBHostname
    a. Currently the validator definition returns a dummy positive result but we can modify this in future to set a validation rule if needed.
  2. Removing the method SnapshotResult#isSkipped and keeping it localised in PostgresSnapshotChangeEventSource
  3. Modifying Dockerfile to not copy custom debezium-core-*.jar - this will enforce that the images use the prepackaged jar only.

This closes yugabyte/yugabyte-db#23082

@vaibhav-yb vaibhav-yb added the enhancement New feature or request label Jul 2, 2024
@vaibhav-yb vaibhav-yb requested a review from suranjan July 2, 2024 02:54
@vaibhav-yb vaibhav-yb self-assigned this Jul 2, 2024
@vaibhav-yb vaibhav-yb changed the title [DBZ-PGYB] Remove dependency on custom debezium-core changes [DBZ-PGYB][yugabyte/yugabyte-db#23082] Remove dependency on custom debezium-core changes Jul 2, 2024
Copy link
Collaborator

@suranjan suranjan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you split into

  1. Code changes
  2. Pom changes
  3. Name changes

@vaibhav-yb vaibhav-yb merged commit bef328a into ybdb-debezium-2.5.2 Jul 12, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants