Rate This Document
Findability
Accuracy
Completeness
Readability

Running the Test Script

Using Flink and Kafka Coming with Yahoo Streaming Benchmark

In this test, Yahoo Streaming Benchmark is stored in the /opt/yahoo-streaming-benchmark directory.

  1. Generate the benchmarkConf.yaml configuration file.
    1
    2
    cd /opt/yahoo-streaming-benchmark
    ./stream-bench.sh SETUP
    
  2. Test the Flink performance.
    1
    ./stream-bench.sh FLINK_TEST
    

Using Customized Flink and Kafka

Start Kafka before using.

  1. Go to the /opt/yahoo-streaming-benchmark directory where Yahoo Streaming Benchmark is stored.
    1
    cd /opt/yahoo-streaming-benchmark
    
  2. Modify the stream-bench.sh script.
    1. Open the script.
      1
      vi stream-bench.sh
      
    2. Press i to enter the insert mode and comment out the following three lines of code:
      # run "START_ZK"
      # run "STOP_KAFKA"
      # run "STOP_ZK"
    3. Press Esc, type :wq!, and press Enter to save the file and exit.
  3. Generate the benchmarkConf.yaml configuration file.
    1
    2
    cd /opt/yahoo-streaming-benchmark
    ./stream-bench.sh SETUP
    
  4. Test the Flink performance.
    1
    ./stream-bench.sh FLINK_TEST