liferoad commented on issue #30507:
URL: https://github.com/apache/beam/issues/30507#issuecomment-2495181810

   Steps to run a local test
   
   1. run the local flink cluster
   ```bash
   wget 
https://dlcdn.apache.org/flink/flink-1.18.1/flink-1.18.1-bin-scala_2.12.tgz
   tar zxvf flink-1.18.1-bin-scala_2.12.tgz
   cd flink-1.18.1
   ./bin/start-cluster.sh
   ```
   2. run the job server
   ```bash
   docker run --net=host apache/beam_flink1.18_job_server:2.60.0 
--flink-master=localhost:8081
   ```
   3. run a Go test
   ```bash
   ./gradlew :sdks:go:test:load:run -PloadTest.mainClass=group_by_key 
-Prunner=FlinkRunner -PloadTest.args='--influx_namespace=flink 
--influx_measurement=go_batch_gbk_1 
--input_options="{\"num_records\":200,\"key_size\":1,\"value_size\":9}" 
--iterations=1 --fanout=1 --parallelism=5 --endp
   oint=localhost:8099 --environment_type=DOCKER 
--environment_config=gcr.io/apache-beam-testing/beam-sdk/beam_go_sdk:latest 
--runner=FlinkRunner'
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@beam.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to