Skip to content

[source-postgres] : Add retries back to the DBZ connector - #35904

Merged
Akash Kulkarni (akashkulk) merged 19 commits into
masterfrom
akash/psg-multiple-lsn-logging
Mar 11, 2024
Merged

[source-postgres] : Add retries back to the DBZ connector#35904
Akash Kulkarni (akashkulk) merged 19 commits into
masterfrom
akash/psg-multiple-lsn-logging

Conversation

@akashkulk

Copy link
Copy Markdown
Contributor

No description provided.

@vercel

vercel Bot commented Mar 7, 2024

Copy link
Copy Markdown

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

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
airbyte-docs ⬜️ Ignored (Inspect) Visit Preview Mar 11, 2024 9:59pm

@octavia-squidington-iii Octavia Squidington III (octavia-squidington-iii) added area/connectors Connector related issues area/documentation Improvements or additions to documentation CDK Connector Development Kit connectors/source/postgres labels Mar 7, 2024
// The maximum number of retries on connection errors before failing (-1 = no limit, 0 = disabled, >
// 0 = num of retries).
props.setProperty("errors.max.retries", "0");
props.setProperty("errors.max.retries", "5");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I get that 5 is totally arbitrary, and is more than 0. Maybe this should be a constant that can be overridden by ENV if needed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Totally arbitrary. Is there a quick/lightweight way to override this via env?

Ideally wanted to avoid exposing this and other things that are debezium properties elsewhere (whether in the config/env etc)

@akashkulk

Akash Kulkarni (akashkulk) commented Mar 11, 2024

Copy link
Copy Markdown
Contributor Author

/publish-java-cdk

🕑 https://github.com/airbytehq/airbyte/actions/runs/8240095696
❌ Publish Java CDK version=0.23.18 failed!

@akashkulk
Akash Kulkarni (akashkulk) requested a review from a team as a code owner March 11, 2024 21:48
@octavia-squidington-iii Octavia Squidington III (octavia-squidington-iii) added the area/documentation Improvements or additions to documentation label Mar 11, 2024
@akashkulk

Akash Kulkarni (akashkulk) commented Mar 11, 2024

Copy link
Copy Markdown
Contributor Author

/publish-java-cdk

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/connectors Connector related issues area/documentation Improvements or additions to documentation CDK Connector Development Kit connectors/source/postgres

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants