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

Add Java Spanner Read with transaction pipeline example #52

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

Amar3tto
Copy link
Contributor

Pipeline added:

Read from Spanner with transaction
IO: Spanner IO
SDK Language: Java
Run instruction:

  • Create Google Cloud Spanner instance and database
  • Create table called 'example_row' (id INT64, name STRING(MAX)) and fill with test data
  • run java ReadWithTransactionSpanner --runner="DataflowRunner" --project="your-project" --region="your-region" --projectId="your-project-id" --instanceId="your-instanceId" --databaseId="your-database-id" --tableName="your-table-name"

@Abacn Abacn merged commit ab29225 into GoogleCloudPlatform:main Feb 21, 2024
3 checks passed
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.

2 participants