Skip to content

Handling tombstone events #254

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

Open
kobynet opened this issue Jul 2, 2024 · 1 comment
Open

Handling tombstone events #254

kobynet opened this issue Jul 2, 2024 · 1 comment
Labels

Comments

@kobynet
Copy link

kobynet commented Jul 2, 2024

I am trying to use the connector for writing postgres CDC data (Debezium connector for PostgreSQL) in parquet format to GCS.

When there is a tombstone record (value is null) then the following error is thrown "Record must have schemas for key and value"

Just for comparison, in confluent s3 connector there is a "behavior.on.null.values" just for that case, does this connector have similar way of handling such scenario?

@ahmedsobeh ahmedsobeh transferred this issue from Aiven-Open/gcs-connector-for-apache-kafka Aug 27, 2024
@Claudenw
Copy link
Contributor

I have done a quick look into the code base. And there may be a work around.

The issue is only found in the topic partition and the topic partition key groupers. If the partition is removed from the file name pattern and \\d+ substituted the partition groupers would not be selected and the null value should be written.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants