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

[DMS-322] Convert Debezium __deleted flagged record to tombstone #6

Merged
merged 9 commits into from
Sep 6, 2024

Conversation

bradbanister
Copy link
Contributor

No description provided.

README.md Outdated
This transformation checks for a Debezium _deleted=true flag. If found, it turns it into a tombstone

- `org.edfi.kafka.connect.transforms.DebeziumDeletedToTombstone`
- works on values.
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure what this implies.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Me neither, will remove. Copy and paste 🤣

@bradbanister bradbanister marked this pull request as ready for review September 5, 2024 22:46
record.keySchema(),
record.key(),
isDeleted ? null : record.valueSchema(),
isDeleted ? null : record.value(),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nulling out record value makes it a tombstone

<property name="fileExtensions" value="java"/>
<property name="headerFile" value="${config_loc}/java.header" default="checkstyle/java.header"/>
</module>

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Files have different license headers now

@stephenfuqua stephenfuqua merged commit 06f036f into main Sep 6, 2024
4 checks passed
@stephenfuqua stephenfuqua deleted the DMS-322 branch September 6, 2024 14:16
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.

2 participants