ray/streaming
2020-07-24 17:59:33 +08:00
..
java [Streaming] Supports multiple downstream collector (#9240) 2020-07-03 11:05:07 +08:00
python Change Python's ObjectID to ObjectRef (#9353) 2020-07-10 17:49:04 +08:00
src use help proto-init-macro for streaming config (#9272) 2020-07-24 17:59:33 +08:00
BUILD.bazel Bazel fixes (#9519) 2020-07-19 12:53:08 -07:00
README.md [Streaming] Streaming data transfer java (#6474) 2019-12-22 10:56:05 +08:00

Ray Streaming

  1. Build streaming java

    • build ray
      • bazel build //java:gen_maven_deps
      • cd java && mvn clean install -Dmaven.test.skip=true && cd ..
    • build streaming
      • bazel build //streaming/java:gen_maven_deps
      • mvn clean install -Dmaven.test.skip=true
  2. Build ray python will build ray streaming python.

  3. Run examples

    # c++ test
    cd streaming/ && bazel test ...
    sh src/test/run_streaming_queue_test.sh
    cd ..
    
    # python test
    pushd python/ray/streaming/
    pushd examples
    python simple.py --input-file toy.txt
    popd
    pushd tests
    pytest .
    popd
    popd
    
    # java test
    cd streaming/java/streaming-runtime
    mvn test