tests.system.google.cloud.dataflow.example_dataflow_java_streaming¶
Example Airflow DAG for testing Google Dataflow Beam Pipeline Operator with Java(streaming).
- Important Note:
This test downloads Java JAR file from the public bucket. In case the JAR file cannot be downloaded or is not compatible with the Java version used in the test. There is no streaming pipeline example for Apache Beam Java SDK, the source code and build instructions are located in providers/google/tests/system/google/cloud/dataflow/resources/java_streaming_src/.
You can follow the instructions on how to pack a self-executing jar here: https://beam.apache.org/documentation/runners/dataflow/
- Requirements:
These operators require the gcloud command and Java’s JRE to run.
Attributes¶
Module Contents¶
- tests.system.google.cloud.dataflow.example_dataflow_java_streaming.DAG_ID = 'dataflow_java_streaming'[source]¶
- tests.system.google.cloud.dataflow.example_dataflow_java_streaming.LOCATION = 'europe-west3'[source]¶
- tests.system.google.cloud.dataflow.example_dataflow_java_streaming.BUCKET_NAME = 'bucket-dataflow_java_streaming-Uninferable'[source]¶
- tests.system.google.cloud.dataflow.example_dataflow_java_streaming.GCS_TMP = 'gs://bucket-dataflow_java_streaming-Uninferable/temp'[source]¶
- tests.system.google.cloud.dataflow.example_dataflow_java_streaming.GCS_OUTPUT = 'gs://bucket-dataflow_java_streaming-Uninferable/DF_OUT'[source]¶
- tests.system.google.cloud.dataflow.example_dataflow_java_streaming.RESOURCE_BUCKET = 'airflow-system-tests-resources'[source]¶
- tests.system.google.cloud.dataflow.example_dataflow_java_streaming.JAR_FILE_NAME = 'stream-pubsub-example-bundled-v-0.1.jar'[source]¶
- tests.system.google.cloud.dataflow.example_dataflow_java_streaming.GCS_JAR_PATH = 'gs://airflow-system-tests-resources/dataflow/java/stream-pubsub-example-bundled-v-0.1.jar'[source]¶
- tests.system.google.cloud.dataflow.example_dataflow_java_streaming.LOCAL_JAR = 'gcs/data/stream-pubsub-example-bundled-v-0.1.jar'[source]¶
- tests.system.google.cloud.dataflow.example_dataflow_java_streaming.REMOTE_JAR_FILE_PATH = 'dataflow/java/stream-pubsub-example-bundled-v-0.1.jar'[source]¶
- tests.system.google.cloud.dataflow.example_dataflow_java_streaming.OUTPUT_TOPIC_ID = 'tp-Uninferable-out'[source]¶
- tests.system.google.cloud.dataflow.example_dataflow_java_streaming.OUTPUT_TOPIC_ID_2 = 'tp-2-Uninferable-out'[source]¶