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

Adding documentation for the Debezium Spanner connector #1

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

nancyxu123
Copy link
Owner

No description provided.


A Cloud Spanner link:https://cloud.google.com/spanner/docs/change-streams[change stream] watches and streams out a Cloud Spanner database's data changes - inserts, updates, deletes - in near-real-time. The Cloud Spanner connector abstracts away the details of querying the Cloud Spanner change streams. With this connector, you don't have to manage the change streams partition lifecycle, which is necessary when you link:https://cloud.devsite.corp.google.com/spanner/docs/change-streams/details#query[use the Spanner API directly].

The connector does not support the snapshot feature at the moment. The first time it connects to a Cloud Spanner database, it will start streaming changes from either the user-provided start timestamp or the current time, if the user did not provide a start timestamp.
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think "the connector does not support the snapshot feature at the moment" does not need to be included, does it?

Next sentence: The first time the Kafka connector connects to a Spanner database, it will stream changes from either the provided timestamp, or the current timestamp if a timestamp is not provided.

Copy link
Owner Author

Choose a reason for hiding this comment

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

I mentioned this, because the other Debezium documentation (Vitess) mentioned the same sentence, and I'm trying to keep close to the structure.

Agreed with the next sentence.

documentation/modules/ROOT/pages/connectors/spanner.adoc Outdated Show resolved Hide resolved
documentation/modules/ROOT/pages/connectors/spanner.adoc Outdated Show resolved Hide resolved
documentation/modules/ROOT/pages/connectors/spanner.adoc Outdated Show resolved Hide resolved

toc::[]

{prodname}'s Cloud Spanner connector consumes and outputs Cloud Spanner change streams data into a Kafka topic.
Copy link
Collaborator

Choose a reason for hiding this comment

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

I recommend that you refer to Spanner as "Cloud Spanner" once, and all subsequent references simply use "Spanner"

@jpechane jpechane force-pushed the debeziumDocumentation branch from 50a8d0c to 04ee85f Compare December 20, 2022 12:16
@jpechane jpechane force-pushed the debeziumDocumentation branch from 0e98df1 to 98ddabd Compare December 22, 2022 09:44
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