[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-05 (世界標準時間)。"],[],[],null,["# Dataflow templates\n\nGoogle Cloud provides [open source Dataflow templates](https://github.com/GoogleCloudPlatform/DataflowTemplates)\nthat you can use to create Dataflow jobs. These jobs are based on\nprebuilt Docker images for common use cases using the\nGoogle Cloud console, the Google Cloud CLI, or REST API calls. This page lists the\navailable, Spanner-related Dataflow templates.\n\nBatch templates\n---------------\n\nUse the following templates to process data in bulk:\n\n- [Any source database to Spanner](/dataflow/docs/guides/templates/provided/sourcedb-to-spanner)\n- [Cloud Storage Avro to Spanner](/dataflow/docs/guides/templates/provided/avro-to-cloud-spanner)\n- [Cloud Storage Text to Spanner](/dataflow/docs/guides/templates/provided/cloud-storage-to-cloud-spanner)\n- [Spanner to BigQuery](/dataflow/docs/guides/templates/provided/cloud-spanner-to-bigquery)\n- [Spanner to Cloud Storage Avro](/dataflow/docs/guides/templates/provided/cloud-spanner-to-avro)\n- [Spanner to Cloud Storage Text](/dataflow/docs/guides/templates/provided/cloud-spanner-to-cloud-storage)\n- [Spanner to Vertex AI Vector Search files on Cloud Storage](/dataflow/docs/guides/templates/provided/cloud-spanner-to-vertex-vector-search)\n\nFor more information about using these templates, see\n[Import, export, and modify data using Dataflow](/spanner/docs/dataflow-connector).\n\nStreaming templates\n-------------------\n\nUse the following templates to process data continuously:\n\n- [Datastream to Spanner](/dataflow/docs/guides/templates/provided/datastream-to-cloud-spanner)\n- [Spanner change streams to any source database](/dataflow/docs/guides/templates/provided/spanner-to-sourcedb)\n- [Spanner change streams to BigQuery](/dataflow/docs/guides/templates/provided/cloud-spanner-change-streams-to-bigquery)\n- [Spanner change streams to Cloud Storage](/dataflow/docs/guides/templates/provided/cloud-spanner-change-streams-to-cloud-storage)\n- [Spanner change streams to Pub/Sub](/dataflow/docs/guides/templates/provided/cloud-spanner-change-streams-to-pubsub)\n\nFor more information about using these templates, see\n[Build change streams connections using Dataflow](/spanner/docs/change-streams/use-dataflow).\n\nWhat's next\n-----------\n\n- [View the complete list of Google-provided templates.](/dataflow/docs/guides/templates/provided-templates)\n- [Learn more about Spanner change streams.](/spanner/docs/change-streams)"]]