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

bubble up debezium config error messages as exceptions #33658

Conversation

stephane-airbyte
Copy link
Contributor

@stephane-airbyte stephane-airbyte commented Dec 19, 2023

Looks like the logic of handling the result of the debezium engine was slightly wrong. Wee were assining the local error field, and then checking itf it was not null, and overriding it in that case. The truth is that the engine can fail without filling in the error field, but still fill in the message field. So the new logic uses the message field if error is null

fixes #31579

Copy link

vercel bot commented Dec 19, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
airbyte-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 9, 2024 7:16pm

@octavia-squidington-iii octavia-squidington-iii added the CDK Connector Development Kit label Dec 19, 2023
Copy link
Contributor Author

stephane-airbyte commented Dec 19, 2023

In this stack: 🔀 Improve Error Handling in Debezium Configuration: Bubble Up Exception Messages

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @stephane-airbyte and the rest of your teammates on Graphite Graphite

@stephane-airbyte stephane-airbyte marked this pull request as ready for review December 19, 2023 23:05
@stephane-airbyte stephane-airbyte force-pushed the stephane/12-19-bubble_up_debezium_config_error_messages_as_exceptions branch from 3d9910c to 86a9add Compare December 19, 2023 23:23
@stephane-airbyte
Copy link
Contributor Author

stephane-airbyte commented Jan 9, 2024

/publish-java-cdk

🕑 https://github.com/airbytehq/airbyte/actions/runs/7465835658
✅ Successfully published Java CDK version=0.11.3!

@stephane-airbyte stephane-airbyte merged commit d190610 into master Jan 9, 2024
21 checks passed
@stephane-airbyte stephane-airbyte deleted the stephane/12-19-bubble_up_debezium_config_error_messages_as_exceptions branch January 9, 2024 19:26
Copy link
Contributor Author

Merge activity

jatinyadav-cc pushed a commit to ollionorg/datapipes-airbyte that referenced this pull request Feb 26, 2024
Looks like the logic of handling the result of the debezium engine was slightly wrong. Wee were assining the local `error` field, and then checking itf it was not null, and overriding it in that case. The truth is that the engine can fail without filling in the `error` field, but still fill in the `message` field. So the new logic uses the `message` field if `error` is null

fixes airbytehq#31579
jatinyadav-cc pushed a commit to ollionorg/datapipes-airbyte that referenced this pull request Feb 26, 2024
Looks like the logic of handling the result of the debezium engine was slightly wrong. Wee were assining the local `error` field, and then checking itf it was not null, and overriding it in that case. The truth is that the engine can fail without filling in the `error` field, but still fill in the `message` field. So the new logic uses the `message` field if `error` is null

fixes airbytehq#31579
jatinyadav-cc pushed a commit to ollionorg/datapipes-airbyte that referenced this pull request Feb 26, 2024
Looks like the logic of handling the result of the debezium engine was slightly wrong. Wee were assining the local `error` field, and then checking itf it was not null, and overriding it in that case. The truth is that the engine can fail without filling in the `error` field, but still fill in the `message` field. So the new logic uses the `message` field if `error` is null

fixes airbytehq#31579
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CDK Connector Development Kit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Debezium failing silently on invalid SSL configuration
3 participants