File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
benchmark/feldera-sql/benchmarks/tiktok Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 33
441 . Ensure that you have Feldera is running.
552 . Ensure that you have Kafka running.
6- 3 . Set the environment variable ` MAX_EVENTS ` to the number of events to generate.
6+ 3 . Set the environment variable ` MAX_EVENTS ` to the number of events to generate.
77 ` MAX_EVENTS=100000000 `
8- 4 . Run ` generate.bash ` . (` source generate.bash ` )
9- 5 . Run the ` feldera/benchmark/feldera-sql/run.py ` script as follows:
8+ 4 . Set the environment variable ` BOOTSTRAP_SERVERS ` to point to the Kafka port
9+ ` BOOTSTRAP_SERVERS=localhost:9092 `
10+ 5 . Run ` generate.bash ` . (` source generate.bash ` )
11+ 6 . Run the ` feldera/benchmark/feldera-sql/run.py ` script as follows:
1012
1113``` sh
1214cd feldera/benchmark/feldera-sql
Original file line number Diff line number Diff line change @@ -2,5 +2,5 @@ BASEDIR="$(pwd)" # get the current directory
22cd " $( dirname " ${BASH_SOURCE[0]} " ) " # cd to the directory this script is in
33TIKTOK_GEN=" $( realpath ../../../../demo/project_demo12-HopsworksTikTokRecSys/tiktok-gen) "
44cd $TIKTOK_GEN # cd to the tiktok generator directory
5- cargo run --release -- --historical --delete-topic-if-exists -I ${MAX_EVENTS:- 50000000}
5+ cargo run --release -- --historical --delete-topic-if-exists -I ${MAX_EVENTS:- 50000000} -B ${BOOTSTRAP_SERVERS :- localhost : 9092}
66cd $BASEDIR
You can’t perform that action at this time.
0 commit comments