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

docs: Consolidate all R2DBC docs onto one page. #1606

Merged
merged 2 commits into from
Oct 13, 2023
Merged

Conversation

hessjcg
Copy link
Collaborator

@hessjcg hessjcg commented Oct 10, 2023

Consolidate all R2DBC docs into a single page for easier maintenance.

Part of #1550

@hessjcg hessjcg requested a review from a team as a code owner October 10, 2023 19:14
@hessjcg hessjcg changed the title docs: Consolidate all r2dbc docs onto one page, fixes #1550 docs: Consolidate all r2dbc docs onto one page. Oct 10, 2023
@hessjcg hessjcg requested a review from ttosta-google October 10, 2023 19:32
Copy link
Collaborator

@ttosta-google ttosta-google left a comment

Choose a reason for hiding this comment

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

LGTM

docs/r2dbc.md Outdated Show resolved Hide resolved
docs/r2dbc.md Outdated Show resolved Hide resolved
docs/r2dbc.md Outdated Show resolved Hide resolved
@hessjcg hessjcg changed the title docs: Consolidate all r2dbc docs onto one page. docs: Consolidate all R2DBC docs onto one page. Oct 12, 2023
@hessjcg hessjcg force-pushed the gh-1550-r2dbc-docs branch from 509efcc to fb85f2b Compare October 12, 2023 17:03
docs/r2dbc.md Outdated
.option(DRIVER, "gcp")
.option(PROTOCOL, "mysql")
.option(PASSWORD, "password")
.option(USER, "[email protected]")
Copy link
Member

Choose a reason for hiding this comment

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

Could we make these users service account users? In MySQL, everything after the @ sign is truncated. In postgres it's just [email protected] (and no .gserviceaccount.com)

Copy link
Member

Choose a reason for hiding this comment

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

Ditto below under impersonation.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is sounding more like a rewrite of the IAM and Service Account Impersonation docs. Do we want to put that in a separate PR and make r2dbc.md and jdbc.md match?

docs/r2dbc.md Outdated
.option(DRIVER, "gcp")
.option(PROTOCOL, "mysql")
.option(PASSWORD, "password")
.option(USER, "[email protected]")
Copy link
Member

Choose a reason for hiding this comment

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

This user name needs to be a native user or be a correctly formatted IAM user.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed.

docs/r2dbc.md Outdated
.option(DRIVER, "gcp")
.option(PROTOCOL, "postgresql")
.option(PASSWORD, "password")
.option(USER, "[email protected]")
Copy link
Member

Choose a reason for hiding this comment

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

Let's use a service account example instead of a human user.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed.

roles/iam.serviceAccounts.serviceAccountTokenCreator.

#### Mysql

Copy link
Member

Choose a reason for hiding this comment

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

Could MySQL and Postgres be combined with comments calling out differences?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes done.

@hessjcg hessjcg force-pushed the gh-1550-r2dbc-docs branch from ff03d7d to 6f05943 Compare October 12, 2023 18:06
@hessjcg hessjcg merged commit cfe4f15 into main Oct 13, 2023
@hessjcg hessjcg deleted the gh-1550-r2dbc-docs branch October 13, 2023 00:50
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