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 JDBC read/write pipelines #45

Merged
merged 1 commit into from
Feb 15, 2024

Conversation

Amar3tto
Copy link
Contributor

Pipeline added:

  1. Write to JDBC
    IO: JDBC IO
    SDK Language: Java
    Run instruction:
  • Run PostgreSQL (or another DBMS)
  • Set username and password
  • Create database
  • Create table and fill with test data
  • run java WriteJdbc --runner="DataflowRunner" --project="your-project" --region="your-region" jdbc_url="your-jdbc-url" --driver_class_name="org.postgresql.Driver" --username="postgres" --password="postgres" --table_name="your-table-name"
  1. Read partitions from JDBC
    IO: JDBC IO
    SDK Language: Java
    Run instruction:
  • Run PostgreSQL (or another DBMS)
  • Set username and password
  • Create database
  • Create table and fill with test data
  • run java ReadPartitionsJdbc --runner="DataflowRunner" --project="your-project" --region="your-region" jdbc_url="your-jdbc-url" --driver_class_name="org.postgresql.Driver" --username="postgres" --password="postgres" --table_name="your-table-name"

@liferoad liferoad requested a review from Abacn February 15, 2024 13:31
@Abacn Abacn merged commit e824b4d into GoogleCloudPlatform:main Feb 15, 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