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

Add support for Debezium read operations #32

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

carlosescura
Copy link

@carlosescura carlosescura commented Sep 10, 2024

This PR adds support for read operations found in Debezium CDC topics treating them as create

@CLAassistant
Copy link

CLAassistant commented Sep 10, 2024

CLA assistant check
All committers have signed the CLA.

Struct newValue = updateValue(value, AFTER);
return record.newRecord(record.topic(), record.kafkaPartition(), record.keySchema(), record.key(), newValue.schema(), newValue, record.timestamp());
} else if (op.equals(OP_D)) {
Struct newValue = updateValue(value, BEFORE);
return record.newRecord(record.topic(), record.kafkaPartition(), record.keySchema(), record.key(), newValue.schema(), newValue, record.timestamp());
}
LOG.info("Operation type `{}` is not supported by this transform Class. Returning original record", op);
Copy link
Contributor

Choose a reason for hiding this comment

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

Change to debug?

@banmoy
Copy link
Contributor

banmoy commented Sep 24, 2024

@meegoo PTAL

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.

3 participants