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

mssql-source:upgrade debezium version to 1.9.6 #18732

Merged
merged 7 commits into from
Nov 4, 2022

Conversation

subodh1810
Copy link
Contributor

@subodh1810 subodh1810 commented Oct 31, 2022

Issue : #15248

Tested this locally.

  1. Created a brand new connector via image built with these changes. Both first sync and subsequent syncs worked as expected.
  2. Created a connector on version 0.4.24 and ran a sync and then changed the connector to use the dev image which included changes from this PR and the sync continued to work as expected proving this is backward compatible.

@subodh1810 subodh1810 self-assigned this Oct 31, 2022
@subodh1810
Copy link
Contributor Author

subodh1810 commented Oct 31, 2022

/test connector=connectors/source-mssql

🕑 connectors/source-mssql https://github.com/airbytehq/airbyte/actions/runs/3364486254
✅ connectors/source-mssql https://github.com/airbytehq/airbyte/actions/runs/3364486254
No Python unittests run

Build Passed

Test summary info:

All Passed

@github-actions
Copy link
Contributor

github-actions bot commented Nov 1, 2022

NOTE ⚠️ Changes in this PR affect the following connectors. Make sure to run corresponding integration tests:

  • source-mysql-strict-encrypt%0A- source-mysql%0A- source-mssql%0A- source-mssql-strict-encrypt%0A- source-postgres

@github-actions
Copy link
Contributor

github-actions bot commented Nov 1, 2022

NOTE ⚠️ Changes in this PR affect the following connectors. Make sure to run corresponding integration tests:

  • source-postgres%0A- source-mysql-strict-encrypt%0A- source-mysql%0A- source-mssql-strict-encrypt%0A- source-mssql

@subodh1810
Copy link
Contributor Author

subodh1810 commented Nov 1, 2022

/test connector=connectors/source-mysql

🕑 connectors/source-mysql https://github.com/airbytehq/airbyte/actions/runs/3369303923
✅ connectors/source-mysql https://github.com/airbytehq/airbyte/actions/runs/3369303923
No Python unittests run

Build Passed

Test summary info:

All Passed

@subodh1810
Copy link
Contributor Author

subodh1810 commented Nov 1, 2022

/test connector=connectors/source-postgres

🕑 connectors/source-postgres https://github.com/airbytehq/airbyte/actions/runs/3369303642
✅ connectors/source-postgres https://github.com/airbytehq/airbyte/actions/runs/3369303642
No Python unittests run

Build Passed

Test summary info:

All Passed

@subodh1810
Copy link
Contributor Author

subodh1810 commented Nov 1, 2022

/test connector=connectors/source-mssql

🕑 connectors/source-mssql https://github.com/airbytehq/airbyte/actions/runs/3369304555
✅ connectors/source-mssql https://github.com/airbytehq/airbyte/actions/runs/3369304555
No Python unittests run

Build Passed

Test summary info:

All Passed

@subodh1810 subodh1810 linked an issue Nov 1, 2022 that may be closed by this pull request
@subodh1810 subodh1810 marked this pull request as ready for review November 2, 2022 09:54
@subodh1810 subodh1810 requested a review from a team as a code owner November 2, 2022 09:54
@akashkulk
Copy link
Contributor

Thanks Subodh - could you quickly summarize the main changes in the PR description in this PR, and the ones needed to happen to upgrade the ms-sql connector to dbz 1.9.6?

@@ -11,7 +11,7 @@ dependencies {

implementation 'io.debezium:debezium-api:1.9.6.Final'
implementation 'io.debezium:debezium-embedded:1.9.6.Final'
// implementation 'io.debezium:debezium-connector-sqlserver:1.9.2.Final'
implementation 'io.debezium:debezium-connector-sqlserver:1.9.6.Final'
Copy link
Contributor

Choose a reason for hiding this comment

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

I just wanted to make sure that what was forgotten in Postgres (TINYINT(1)?) is taken care of here.

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class FirstRecordWaitTimeUtil {
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you add a brief class comment here?

@github-actions github-actions bot added the area/documentation Improvements or additions to documentation label Nov 4, 2022
@subodh1810
Copy link
Contributor Author

subodh1810 commented Nov 4, 2022

/publish connector=connectors/source-mssql-strict-encrypt

🕑 Publishing the following connectors:
connectors/source-mssql-strict-encrypt
https://github.com/airbytehq/airbyte/actions/runs/3393917020


Connector Did it publish? Were definitions generated?
connectors/source-mssql-strict-encrypt

if you have connectors that successfully published but failed definition generation, follow step 4 here ▶️

@subodh1810
Copy link
Contributor Author

subodh1810 commented Nov 4, 2022

/publish connector=connectors/source-mssql

🕑 Publishing the following connectors:
connectors/source-mssql
https://github.com/airbytehq/airbyte/actions/runs/3393919330


Connector Did it publish? Were definitions generated?
connectors/source-mssql

if you have connectors that successfully published but failed definition generation, follow step 4 here ▶️

@github-actions
Copy link
Contributor

github-actions bot commented Nov 4, 2022

Affected Connector Report

NOTE ⚠️ Changes in this PR affect the following connectors. Make sure to do the following as needed:

  • Run integration tests
  • Bump connector version
  • Add changelog
  • Publish the new version

⚠ Sources (5)

Connector Version Changelog Publish
source-mssql 0.4.25
source-mssql-strict-encrypt 0.4.25
(not in seed)
source-mysql 1.0.11
source-mysql-strict-encrypt 1.0.11
(not in seed)
source-postgres 1.0.22
  • See "Actionable Items" below for how to resolve warnings and errors.

✅ Destinations (0)

Connector Version Changelog Publish
  • See "Actionable Items" below for how to resolve warnings and errors.

Actionable Items

(click to expand)

Category Status Actionable Item
Version
mismatch
The version of the connector is different from its normal variant. Please bump the version of the connector.

doc not found
The connector does not seem to have a documentation file. This can be normal (e.g. basic connector like source-jdbc is not published or documented). Please double-check to make sure that it is not a bug.
Changelog
doc not found
The connector does not seem to have a documentation file. This can be normal (e.g. basic connector like source-jdbc is not published or documented). Please double-check to make sure that it is not a bug.

changelog missing
There is no chnagelog for the current version of the connector. If you are the author of the current version, please add a changelog.
Publish
not in seed
The connector is not in the seed file (e.g. source_definitions.yaml), so its publication status cannot be checked. This can be normal (e.g. some connectors are cloud-specific, and only listed in the cloud seed file). Please double-check to make sure that it is not a bug.

diff seed version
The connector exists in the seed file, but the latest version is not listed there. This usually means that the latest version is not published. Please use the /publish command to publish the latest version.

@octavia-squidington-iii octavia-squidington-iii temporarily deployed to more-secrets November 4, 2022 13:46 Inactive
@subodh1810
Copy link
Contributor Author

subodh1810 commented Nov 4, 2022

/publish connector=connectors/source-mssql-strict-encrypt

🕑 Publishing the following connectors:
connectors/source-mssql-strict-encrypt
https://github.com/airbytehq/airbyte/actions/runs/3395634068


Connector Did it publish? Were definitions generated?
connectors/source-mssql-strict-encrypt

if you have connectors that successfully published but failed definition generation, follow step 4 here ▶️

@subodh1810 subodh1810 temporarily deployed to more-secrets November 4, 2022 16:59 Inactive
@subodh1810 subodh1810 merged commit fe3f459 into master Nov 4, 2022
@subodh1810 subodh1810 deleted the upgrade-debezium-version-mssql-source branch November 4, 2022 17:32
@DoNotPanicUA
Copy link
Contributor

/test connector=connectors/source-mssql

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

Successfully merging this pull request may close these issues.

Upgrade MSSQL debezium version to 1.9.6
6 participants