Google Cloud Dataflow is based on apache beam.And beam does not officially support java11. But when I run a dataflow job on GCP and check the vm instance that the job using as a worker. I found that the container image is "gcr.io/cloud-dataflow/v1beta3/beam-java11-batch:beam-2.23.0"". So is dataflow using java11 as the java runtime when running dataflow? Why not use java8? Is it a risk to have bugs?
"spec": { "containers": [ { "args": [ "--physmem_limit_pct=70", "--log_file=/var/log/dataflow/boot-json.log", "--log_dir=/var/log/dataflow", "--work_dir=/var/opt/google/dataflow", "--tmp_dir=/var/opt/google/tmp", "--endpoint=https://dataflow.googleapis.com/" ], "image": "gcr.io/cloud-dataflow/v1beta3/beam-java11-batch:beam-2.23.0",